mirror of
https://github.com/tildearrow/furnace.git
synced 2024-11-23 04:55:13 +00:00
command palette: scroll to the beginning when the palette opens
This commit is contained in:
parent
81fd5a23b8
commit
30c1a69298
1 changed files with 1 additions and 1 deletions
|
@ -117,7 +117,7 @@ void FurnaceGUI::drawPalette() {
|
|||
curPaletteChoice=i;
|
||||
accepted=true;
|
||||
}
|
||||
if (navigated && current) ImGui::SetScrollHereY();
|
||||
if ((navigated || paletteFirstFrame) && current) ImGui::SetScrollHereY();
|
||||
}
|
||||
}
|
||||
ImGui::EndChild();
|
||||
|
|
Loading…
Reference in a new issue