diff options
| author | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2018-02-23 13:25:37 +0100 |
|---|---|---|
| committer | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2018-02-23 13:25:37 +0100 |
| commit | 0e7aaef3655c455094df9a6a4580ad0aff8519a1 (patch) | |
| tree | cc4c0241ae0a6f40c2858f72645e8328f26d5a5a /src/GraphicObjects/ScrollingObject.cs | |
| parent | a2a18e264a8a2d586f2c058ebb5b2b15b745804e (diff) | |
rename CurrentInterface to IFace
Diffstat (limited to 'src/GraphicObjects/ScrollingObject.cs')
| -rw-r--r-- | src/GraphicObjects/ScrollingObject.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/GraphicObjects/ScrollingObject.cs b/src/GraphicObjects/ScrollingObject.cs index 9059d8ed..b636d993 100644 --- a/src/GraphicObjects/ScrollingObject.cs +++ b/src/GraphicObjects/ScrollingObject.cs @@ -148,7 +148,7 @@ namespace Crow public override void onMouseWheel (object sender, MouseWheelEventArgs e) { base.onMouseWheel (sender, e); - if (CurrentInterface.Keyboard.IsKeyDown (Key.ShiftLeft)) + if (IFace.Keyboard.IsKeyDown (Key.ShiftLeft)) ScrollX += e.Delta * MouseWheelSpeed; else ScrollY -= e.Delta * MouseWheelSpeed; |