From f95186d3b9f503e46da79fd10c29323bd55ad794 Mon Sep 17 00:00:00 2001 From: jacob1 Date: Fri, 26 Jun 2015 11:48:45 -0400 Subject: [PATCH] fix zoom window staying up if you are holding ctrl while placing it press z -> ctrl, then release z -> ctrl --- src/gui/game/GameView.cpp | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/gui/game/GameView.cpp b/src/gui/game/GameView.cpp index e16252166..c4ff27596 100644 --- a/src/gui/game/GameView.cpp +++ b/src/gui/game/GameView.cpp @@ -1595,11 +1595,8 @@ void GameView::OnKeyRelease(int key, Uint16 character, bool shift, bool ctrl, bo disableShiftBehaviour(); break; case 'z': - if(!ctrl) - { - if(!zoomCursorFixed && !alt) - c->SetZoomEnabled(false); - } + if(!zoomCursorFixed && !alt) + c->SetZoomEnabled(false); break; } }