drmargarido / TodoTreeView

Todo View for https://github.com/rxi/lite
MIT License
28 stars 3 forks source link

[BUG]: differing chevron icons #20

Closed PerilousBooklet closed 1 month ago

PerilousBooklet commented 1 month ago

The chevron icons in the expanded mode differ from the ones in the not-expanded mode. image image

PerilousBooklet commented 1 month ago

I'm not sure if you use Fontello to create the icon font, but it would be cleaner and easier to do so. You could just copy the chevron icons from the nonicons plugin for example, or add the ones you want.

drmargarido commented 1 month ago

I'm not loading any special font. I'm using the default style font that the editor already has. You can see an example of it's usage here: https://github.com/drmargarido/TodoTreeView/blob/master/todotreeview-xl.lua#L474

Don't really want to hardcode a font since this way people can customize the font and it applies directly to everything.

drmargarido commented 1 month ago

Just did some tests and seems to be specific to LiteXL, on original Lite it doesn't differ. imagem

drmargarido commented 1 month ago

image Issue fixed with the commit https://github.com/drmargarido/TodoTreeView/commit/218b811b9b180f78a00e9b12757f47a1d880317e