mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-10 16:19:28 +01: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:
parent
0ae8d33149
commit
ae4c8c81ac
@ -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))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user