GUI: fix about screen in power saving mode
This commit is contained in:
parent
1a81c6c3e7
commit
dac6231574
|
@ -214,6 +214,8 @@ void FurnaceGUI::drawAbout() {
|
||||||
while (aboutHue>1) aboutHue--;
|
while (aboutHue>1) aboutHue--;
|
||||||
while (aboutSin>=2400) aboutSin-=2400;
|
while (aboutSin>=2400) aboutSin-=2400;
|
||||||
if (aboutScroll>(42*aboutCount+scrH)) aboutScroll=-20;
|
if (aboutScroll>(42*aboutCount+scrH)) aboutScroll=-20;
|
||||||
|
|
||||||
|
WAKE_UP;
|
||||||
}
|
}
|
||||||
if (ImGui::IsWindowFocused(ImGuiFocusedFlags_ChildWindows)) curWindow=GUI_WINDOW_ABOUT;
|
if (ImGui::IsWindowFocused(ImGuiFocusedFlags_ChildWindows)) curWindow=GUI_WINDOW_ABOUT;
|
||||||
ImGui::End();
|
ImGui::End();
|
||||||
|
|
Loading…
Reference in New Issue