aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDheisom Gomes <dheisomgomes0@gmail.com>2022-06-14 18:15:27 +0200
committerGuldoman <giulio.lettieri@gmail.com>2022-06-14 18:15:27 +0200
commit9ebfd629ca4c1dfc814ee6569a4753be30174234 (patch)
tree39019bee32636d467d8fc195dfbac7937ffca7bb
parent19a27fa18aca448c82cd91948bc2d1174fcd1a95 (diff)
downloadlite-xl-plugins-9ebfd629ca4c1dfc814ee6569a4753be30174234.tar.gz
lite-xl-plugins-9ebfd629ca4c1dfc814ee6569a4753be30174234.zip
Fixed wrong icon on opened directory
-rw-r--r--plugins/nonicons.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/nonicons.lua b/plugins/nonicons.lua
index 3dd0957..a093fd9 100644
--- a/plugins/nonicons.lua
+++ b/plugins/nonicons.lua
@@ -95,7 +95,7 @@ function TreeView:draw()
x = x + item.depth * style.padding.x + style.padding.x
if item.type == "dir" then
local icon1 = item.expanded and "" or "" -- unicode 61726 and 61728
- local icon2 = item.expanded and "" or "" -- unicode 61771 and 61772
+ local icon2 = item.expanded and "" or "" -- unicode U+F23C and U+F23B
x = x - spacing
common.draw_text(icon_font, color, icon1, nil, x, y, 0, h)
x = x + style.padding.x + spacing