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
365 stars 16 forks source link

Add wrap around for outline filter icons #63

Closed someThrowAway1900 closed 1 week ago

someThrowAway1900 commented 1 week ago

Would it be possible to include wrap around for the filter icons like this?

Capture

The reasoning is to reduce the outline width, which would then increase the script working area width.

someThrowAway1900 commented 1 week ago

I added a line to make the svg smaller, which effectively does the same. Thanks for a great addon. closing.

func create_editor_texture(image: Image) -> ImageTexture: image.adjust_bcs(1.0, 1.0, get_editor_icon_saturation()) image.resize(8, 8) # added code. not part of addon

Maran23 commented 1 week ago

Interesting idea, I may check it out. Good idea to adjust the icon size. That is why I wrote the icon code this way - you can easily adjust it. Good that it works for you. :)