mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
Fix fullscreen switch being triggered twice on hotkey. Should fix issue #4098.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7171 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -886,8 +886,7 @@ void CFrame::OnKeyDown(wxKeyEvent& event)
|
|||||||
if (IsHotkey(event, HK_FULLSCREEN))
|
if (IsHotkey(event, HK_FULLSCREEN))
|
||||||
DoFullscreen(!RendererIsFullscreen());
|
DoFullscreen(!RendererIsFullscreen());
|
||||||
// Send Debugger keys to CodeWindow
|
// Send Debugger keys to CodeWindow
|
||||||
//else
|
else if (g_pCodeWindow && (event.GetKeyCode() >= WXK_F9 && event.GetKeyCode() <= WXK_F11))
|
||||||
if (g_pCodeWindow && (event.GetKeyCode() >= WXK_F9 && event.GetKeyCode() <= WXK_F11))
|
|
||||||
event.Skip();
|
event.Skip();
|
||||||
// Pause and Unpause
|
// Pause and Unpause
|
||||||
else if (IsHotkey(event, HK_PLAY_PAUSE))
|
else if (IsHotkey(event, HK_PLAY_PAUSE))
|
||||||
|
Reference in New Issue
Block a user