From 0a8417df816858b76ad3ad684514d005d31e5271 Mon Sep 17 00:00:00 2001 From: thegrb93 Date: Fri, 4 Dec 2020 14:52:30 -0500 Subject: [PATCH] Fix label colors (#332) * Fix label colors * Revert this * Update file_browser.lua --- lua/advdupe2/file_browser.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lua/advdupe2/file_browser.lua b/lua/advdupe2/file_browser.lua index dd94603..f7e17af 100644 --- a/lua/advdupe2/file_browser.lua +++ b/lua/advdupe2/file_browser.lua @@ -919,6 +919,7 @@ function FOLDER:AddFolder(text) node.Label:SetPos(44 + node.Offset, 0) node.Label:SetText(text) node.Label:SizeToContents() + node.Label:SetDark(true) node.ParentNode = self node.IsFolder = true node.Folders = {} @@ -948,6 +949,7 @@ function FOLDER:AddFile(text) node.Label:SetPos(44 + node.Offset, 0) node.Label:SetText(text) node.Label:SizeToContents() + node.Label:SetDark(true) node.ParentNode = self self.Nodes = self.Nodes + 1