mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-10 06:39:49 +00:00
workaround for alt tab view mode toggle
This commit is contained in:
parent
61923349e5
commit
dc8f9bd923
@ -258,7 +258,9 @@ namespace MWInput
|
||||
mPlayer.setUpDown (0);
|
||||
|
||||
if (mControlSwitch["playerviewswitch"]) {
|
||||
if (actionIsActive(A_TogglePOV)) {
|
||||
|
||||
// work around preview mode toggle when pressing Alt+Tab
|
||||
if (actionIsActive(A_TogglePOV) && !mKeyboard->isModifierDown (OIS::Keyboard::Alt)) {
|
||||
if (mPreviewPOVDelay <= 0.5 &&
|
||||
(mPreviewPOVDelay += dt) > 0.5)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user