mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-26 09:35:28 +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);
|
mPlayer.setUpDown (0);
|
||||||
|
|
||||||
if (mControlSwitch["playerviewswitch"]) {
|
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 &&
|
if (mPreviewPOVDelay <= 0.5 &&
|
||||||
(mPreviewPOVDelay += dt) > 0.5)
|
(mPreviewPOVDelay += dt) > 0.5)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user