Fix GUI typos.

This commit is contained in:
byuu 2019-11-08 16:00:27 +09:00
parent 5775155714
commit ba3fca27ad
1 changed files with 2 additions and 2 deletions

View File

@ -67,12 +67,12 @@ auto InputManager::bindHotkeys() -> void {
program.loadState("Quick/Redo");
}));
hotkeys.append(InputHotkey("Increment State Slot").onPress([&] {
hotkeys.append(InputHotkey("Decrement State Slot").onPress([&] {
if(--stateSlot < 1) stateSlot = 9;
program.showMessage({"Selected state slot ", stateSlot});
}));
hotkeys.append(InputHotkey("Decrement State Slot").onPress([&] {
hotkeys.append(InputHotkey("Increment State Slot").onPress([&] {
if(++stateSlot > 9) stateSlot = 1;
program.showMessage({"Selected state slot ", stateSlot});
}));