fix: Key presses not always unlocking frame rate correctly

This commit is contained in:
WerWolv
2023-06-02 14:43:45 +02:00
parent 62ecfb0e0e
commit d10f033439
2 changed files with 13 additions and 6 deletions

View File

@@ -61,7 +61,7 @@ namespace hex {
std::list<std::string> m_popupsToOpen;
std::vector<int> m_pressedKeys;
bool m_mouseButtonDown = false;
bool m_buttonDown = false;
bool m_hadEvent = false;
bool m_frameRateTemporarilyUnlocked = false;