fix: show closed folder icon when folder is not expanded in the tree view
This commit is contained in:
parent
58345339df
commit
018c8c30d8
1 changed files with 1 additions and 1 deletions
|
|
@ -171,7 +171,7 @@ fn getNodeIconAndColor(node: *const Node) !struct { []const u8, u24 } {
|
|||
if (node.type_ == .folder) {
|
||||
if (node.expanded) {
|
||||
return .{ "", 0 };
|
||||
} else return .{ "", 0 };
|
||||
} else return .{ "", 0 };
|
||||
}
|
||||
|
||||
_, const icon_, const color_ = guess_file_type(node.path);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue