Changed mapping of collapsed/expanded icons on icon font

This commit is contained in:
rxi 2020-03-25 23:36:56 +00:00
parent efed38d59c
commit 2a5a36f64e
2 changed files with 1 additions and 1 deletions

Binary file not shown.

View File

@ -162,7 +162,7 @@ function TreeView:draw()
-- icons
x = x + (item.depth - root_depth) * style.padding.x + style.padding.x
if item.type == "dir" then
local icon1 = item.expanded and "e" or "c"
local icon1 = item.expanded and "-" or "+"
local icon2 = item.expanded and "D" or "d"
common.draw_text(style.icon_font, color, icon1, nil, x, y, 0, h)
x = x + style.padding.x