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:
parent
80bf240ced
commit
f95186d3b9
@ -1595,11 +1595,8 @@ void GameView::OnKeyRelease(int key, Uint16 character, bool shift, bool ctrl, bo
|
|||||||
disableShiftBehaviour();
|
disableShiftBehaviour();
|
||||||
break;
|
break;
|
||||||
case 'z':
|
case 'z':
|
||||||
if(!ctrl)
|
|
||||||
{
|
|
||||||
if(!zoomCursorFixed && !alt)
|
if(!zoomCursorFixed && !alt)
|
||||||
c->SetZoomEnabled(false);
|
c->SetZoomEnabled(false);
|
||||||
}
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user