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

press z -> ctrl, then release z -> ctrl
This commit is contained in:
jacob1 2015-06-26 11:48:45 -04:00
parent 80bf240ced
commit f95186d3b9

View File

@ -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;
}
}