[turbine,studio] Fix some popup window resize weirdness, cleanup some function names
All checks were successful
Build / build (push) Successful in 1m17s
All checks were successful
Build / build (push) Successful in 1m17s
This commit is contained in:
@@ -275,6 +275,9 @@ void QuestionPopup::draw(Context &ctx) noexcept {
|
||||
ImGui::OpenPopup(m_title.c_str());
|
||||
m_stage = Stage::Open;
|
||||
m_open = true;
|
||||
// require extended refresh in case new contents require resize
|
||||
// this can take around a second
|
||||
turbine::requireRefreshFor(ctx.tctx, 1000);
|
||||
[[fallthrough]];
|
||||
case Stage::Open:
|
||||
centerNextWindow(ctx.tctx);
|
||||
|
||||
Reference in New Issue
Block a user