CommonHostInterface: Remove Rewind hotkey on Android

It's not enablable in the UI anywhere.
This commit is contained in:
Connor McLaughlin 2021-02-11 01:39:59 +10:00
parent 2446e945a7
commit 5f6fce9d98
1 changed files with 2 additions and 0 deletions

View File

@ -1676,6 +1676,7 @@ void CommonHostInterface::RegisterGeneralHotkeys()
DoFrameStep();
});
#ifndef __ANDROID__
RegisterHotkey(StaticString(TRANSLATABLE("Hotkeys", "General")), StaticString("Rewind"),
StaticString(TRANSLATABLE("Hotkeys", "Rewind")), [this](bool pressed) {
if (System::IsValid())
@ -1686,6 +1687,7 @@ void CommonHostInterface::RegisterGeneralHotkeys()
System::SetRewinding(pressed);
}
});
#endif
}
void CommonHostInterface::RegisterGraphicsHotkeys()