Permalink
Browse files

fix zoom window staying up if you are holding ctrl while placing it

press z -> ctrl, then release z -> ctrl
  • Loading branch information...
jacob1 committed Jun 26, 2015
1 parent 80bf240 commit f95186d3b9f503e46da79fd10c29323bd55ad794
Showing with 2 additions and 5 deletions.
  1. +2 −5 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;
}
}

0 comments on commit f95186d

Please sign in to comment.