GUI: fix inertial scroll when power saving is on

This commit is contained in:
tildearrow 2022-12-01 18:33:48 -05:00
parent 9c7e25f33c
commit 152a95cb40
3 changed files with 9 additions and 0 deletions

View file

@ -3171,6 +3171,11 @@ bool FurnaceGUI::loop() {
if (wantCaptureKeyboard) {
WAKE_UP;
}
if (ImGui::GetIO().IsSomethingHappening) {
WAKE_UP;
}
if (ImGui::GetIO().MouseDown[0] || ImGui::GetIO().MouseDown[1] || ImGui::GetIO().MouseDown[2] || ImGui::GetIO().MouseDown[3] || ImGui::GetIO().MouseDown[4]) {
WAKE_UP;
}