aboutsummaryrefslogtreecommitdiffstatsci
path: root/src/GraphicObjects/ScrollingObject.cs
diff options
context:
space:
mode:
authorJean-Philippe Bruyère <jp_bruyere@hotmail.com>2017-11-05 23:02:49 +0100
committerJean-Philippe Bruyère <jp_bruyere@hotmail.com>2017-11-05 23:02:49 +0100
commit5185d70ddd14728576bafdfea267981baed88d84 (patch)
tree28ecf610198dc524f927f953a952cbc7f1717498 /src/GraphicObjects/ScrollingObject.cs
parent8d59e42e78db11afaf9b2f6530403a12b1d1926c (diff)
parent28788991d650bc8ba29b9c2817dbb757129977e5 (diff)
merge
Diffstat (limited to 'src/GraphicObjects/ScrollingObject.cs')
-rw-r--r--src/GraphicObjects/ScrollingObject.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/GraphicObjects/ScrollingObject.cs b/src/GraphicObjects/ScrollingObject.cs
index 42acdbf9..09558984 100644
--- a/src/GraphicObjects/ScrollingObject.cs
+++ b/src/GraphicObjects/ScrollingObject.cs
@@ -146,7 +146,7 @@ namespace Crow
public override void onMouseWheel (object sender, MouseWheelEventArgs e)
{
base.onMouseWheel (sender, e);
- if (currentInterface.Keyboard.IsKeyDown (Key.ShiftLeft))
+ if (CurrentInterface.Keyboard.IsKeyDown (Key.ShiftLeft))
ScrollX += e.Delta * MouseWheelSpeed;
else
ScrollY -= e.Delta * MouseWheelSpeed;