mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-08-24 01:33:46 +08:00
raylib: fix missing showing dialog in setup/updater (#36298)
* fix showing dialog * here for safety
This commit is contained in:
+3
-1
@@ -423,7 +423,9 @@ def main():
|
||||
try:
|
||||
gui_app.init_window("Setup", 20)
|
||||
setup = Setup()
|
||||
for _ in gui_app.render():
|
||||
for showing_dialog in gui_app.render():
|
||||
if showing_dialog:
|
||||
continue
|
||||
setup.render(rl.Rectangle(0, 0, gui_app.width, gui_app.height))
|
||||
setup.close()
|
||||
except Exception as e:
|
||||
|
||||
Reference in New Issue
Block a user