forked from mirror/openmw-tes3mp
workaround for alt tab view mode toggle
This commit is contained in:
parent
61923349e5
commit
dc8f9bd923
1 changed files with 3 additions and 1 deletions
|
@ -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 a new issue