mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-01-23 13:11:09 +00:00
GameWindowStates test: Added support for jumping two WindowStates with one keystroke.
This commit is contained in:
parent
083caef1c1
commit
180da6c5dd
|
@ -82,6 +82,10 @@ namespace Examples.Tests
|
|||
|
||||
if (sender[Key.ShiftLeft] || sender[Key.ShiftRight])
|
||||
WindowState = GetPrevious(WindowState);
|
||||
else if (sender[Key.AltLeft] || sender[Key.AltRight])
|
||||
WindowState = GetNext(GetNext(WindowState));
|
||||
else if (sender[Key.ControlLeft] || sender[Key.ControlRight])
|
||||
WindowState = GetPrevious(GetPrevious(WindowState));
|
||||
else
|
||||
WindowState = GetNext(WindowState);
|
||||
|
||||
|
|
Loading…
Reference in a new issue