Do the same with KeyInputFlags. Fix minor UI misalignments

This commit is contained in:
Henrik Rydgård committed 2025-12-19 13:41:58 +01:00
1 parent 481d0fd18c
commit 18a67b82d2
37 files changed
+183 -182

No files matched your search

+1 -1
View File
@@ -342,7 +342,7 @@ GamePauseScreen::~GamePauseScreen() {
}
bool GamePauseScreen::key(const KeyInput &key) {
if (!UIScreen::key(key) && (key.flags & KEY_DOWN)) {
if (!UIScreen::key(key) && (key.flags & KeyInputFlags::DOWN)) {
// Special case to be able to unpause with a bound pause key.
// Normally we can't bind keys used in the UI.
InputMapping mapping(key.deviceId, key.keyCode);