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;
|
warnQuit=false;
|
||||||
ImGui::OpenPopup("Warning");
|
ImGui::OpenPopup("Warning");
|
||||||
}
|
}
|
||||||
|
|
||||||
if (displayError && introPos<9.0) {
|
if (displayError && introPos>=9.0) {
|
||||||
displayError=false;
|
displayError=false;
|
||||||
ImGui::OpenPopup("Error");
|
ImGui::OpenPopup("Error");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue