GUI: fix inertial scroll when power saving is on
This commit is contained in:
parent
9c7e25f33c
commit
152a95cb40
3 changed files with 9 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue