samyeyo / LuaRT-Studio

Lua 5.4 IDE for Windows with debugger and script to executable compiler
Other
75 stars 13 forks source link

Double click needed to close ui.Window #4

Closed samyeyo closed 1 year ago

samyeyo commented 1 year ago

Occurs when the Project menu option "show console window when running" is set and using a GUI script with ui.Window widget

samyeyo commented 1 year ago

After investigation, it is not a bug This happens when using ui.update() in an infinite loop, which leaves no time to actually close the window when clicking the close button for the first time