mirror of
				https://github.com/OpenMW/openmw.git
				synced 2025-11-03 23:56:43 +00:00 
			
		
		
		
	Merge remote-tracking branch 'scrawl/alttab'
This commit is contained in:
		
						commit
						14b4263143
					
				
					 1 changed files with 3 additions and 1 deletions
				
			
		| 
						 | 
					@ -253,7 +253,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…
	
		Reference in a new issue