This commit is contained in:
tildearrow 2023-02-24 04:19:39 -05:00
parent 5261cf97fe
commit 534cc501db
3 changed files with 41 additions and 1 deletions

View file

@ -4695,6 +4695,8 @@ bool FurnaceGUI::loop() {
ImGui::EndPopup();
}
drawTutorial();
ImVec2 newSongMinSize=mobileUI?ImVec2(canvasW-(portrait?0:(60.0*dpiScale)),canvasH-60.0*dpiScale):ImVec2(400.0f*dpiScale,200.0f*dpiScale);
ImVec2 newSongMaxSize=ImVec2(canvasW-((mobileUI && !portrait)?(60.0*dpiScale):0),canvasH-(mobileUI?(60.0*dpiScale):0));
ImGui::SetNextWindowSizeConstraints(newSongMinSize,newSongMaxSize);