Fix+Optimized+Extended: Console - #1113
Conversation
|
Added some extra things; I wrote them a while ago and forgot to post them. Optimized the code. |
|
Optimized the console performance overhead that still occurs when the console is not visible (this issue significantly affected the maximum frame rate under unlimited frame rate). |
|
Sorry for taking a while but I'll try this out later, code looks good to me but the only thing I think should be changed is the return when ui is disabled in Main.hx should really be checking if there isn't any imgui windows open instead for future uses, I meant to fix this earlier because it also fixes a bug with no keyboard focus when you open the game so its probably fine for now, I can change this myself later or if you wanna do it yourself thats fine |
Fixed an issue where enabling console-related windows would cause a popup crash if a script called
__script__.destroy();.