Skip to content

Commit

Permalink
Fix label colors (#332)
Browse files Browse the repository at this point in the history
* Fix label colors

* Revert this

* Update file_browser.lua
  • Loading branch information
thegrb93 authored Dec 4, 2020
1 parent 0c0d55f commit 0a8417d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lua/advdupe2/file_browser.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {}
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 0a8417d

Please sign in to comment.