GUI: fix about screen in power saving mode

This commit is contained in:
tildearrow 2022-04-19 21:55:23 -05:00
parent 1a81c6c3e7
commit dac6231574
1 changed files with 2 additions and 0 deletions

View File

@ -214,6 +214,8 @@ void FurnaceGUI::drawAbout() {
while (aboutHue>1) aboutHue--;
while (aboutSin>=2400) aboutSin-=2400;
if (aboutScroll>(42*aboutCount+scrH)) aboutScroll=-20;
WAKE_UP;
}
if (ImGui::IsWindowFocused(ImGuiFocusedFlags_ChildWindows)) curWindow=GUI_WINDOW_ABOUT;
ImGui::End();