diff options
Diffstat (limited to 'src/gui/viewport.cpp')
-rw-r--r-- | src/gui/viewport.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/viewport.cpp b/src/gui/viewport.cpp index 96a1d79c..3fb11d2c 100644 --- a/src/gui/viewport.cpp +++ b/src/gui/viewport.cpp @@ -312,7 +312,7 @@ void Viewport::_followMouse() // We create a mouse event and send it to mouseDragged. const Uint8 *keys = SDL_GetKeyboardState(nullptr); gcn::MouseEvent mouseEvent(nullptr, - (keys[SDLK_LSHIFT] || keys[SDLK_RSHIFT]), + (keys[SDL_SCANCODE_LSHIFT] || keys[SDL_SCANCODE_RSHIFT]), false, false, false, |