Maran23 / script-ide

Script-IDE is a plugin for Godot. It transforms the Script UI into an IDE like UI. Tabs are used for navigating between scripts. The default Outline got an overhaul and now shows all members of the script (not just methods) with unique icons for faster navigation.
MIT License
368 stars 16 forks source link

Fix empty popup when outline is initially closed #38

Closed Maweill closed 9 months ago

Maweill commented 9 months ago

When the outline side panel is initially closed, and I open a popup, it appears empty. image

So, the solution is to display the outline_container before reparenting it to the popup window. I have also implemented a check to ensure that the outline side panel reopens after the popup is closed if it was initially open, and remains closed if it was initially closed.

Maran23 commented 9 months ago

I can reproduce the issue and I also verified, that your fix works. Thanks for the PR!