GUI: fix serious SERIOUS bug with warn/error pops
This commit is contained in:
parent
34cc78519d
commit
a6bb3a639f
|
@ -4639,12 +4639,12 @@ bool FurnaceGUI::loop() {
|
|||
}
|
||||
}
|
||||
|
||||
if (warnQuit && introPos<9.0) {
|
||||
if (warnQuit && introPos>=9.0) {
|
||||
warnQuit=false;
|
||||
ImGui::OpenPopup("Warning");
|
||||
}
|
||||
|
||||
if (displayError && introPos<9.0) {
|
||||
if (displayError && introPos>=9.0) {
|
||||
displayError=false;
|
||||
ImGui::OpenPopup("Error");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue