data/fonts/icons.ttf
data/fonts/icons.ttf
This is a binary file and will not be displayed.
+1
-1
data/plugins/treeview.lua
+1
-1
data/plugins/treeview.lua
···
162
-- icons
163
x = x + (item.depth - root_depth) * style.padding.x + style.padding.x
164
if item.type == "dir" then
165
-
local icon1 = item.expanded and "e" or "c"
166
local icon2 = item.expanded and "D" or "d"
167
common.draw_text(style.icon_font, color, icon1, nil, x, y, 0, h)
168
x = x + style.padding.x
···
162
-- icons
163
x = x + (item.depth - root_depth) * style.padding.x + style.padding.x
164
if item.type == "dir" then
165
+
local icon1 = item.expanded and "-" or "+"
166
local icon2 = item.expanded and "D" or "d"
167
common.draw_text(style.icon_font, color, icon1, nil, x, y, 0, h)
168
x = x + style.padding.x