Skip to content

Commit

Permalink
fix issue with initial draw color
Browse files Browse the repository at this point in the history
  • Loading branch information
admSla99 committed Dec 2, 2023
1 parent dc07b94 commit 3b07541
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/Classes/PassiveTreeView.lua
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ local m_floor = math.floor
local band = bit.band
local b_rshift = bit.rshift


local PassiveTreeViewClass = newClass("PassiveTreeView", function(self)
self.ring = NewImageHandle()
self.ring:Load("Assets/ring.png", "CLAMP")
Expand Down
1 change: 0 additions & 1 deletion src/Data/Global.lua
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ colorCodes.RAGE = colorCodes.WARNING
colorCodes.PHYS = colorCodes.NORMAL

defaultColorCodes = copyTable(colorCodes)
rgbColor = {1, 0, 0}
function updateColorCode(code, color)
if colorCodes[code] then
colorCodes[code] = color:gsub("^0", "^")
Expand Down
1 change: 1 addition & 0 deletions src/Modules/Main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ function main:Init()
self.colorPositive = defaultColorCodes.POSITIVE
self.colorNegative = defaultColorCodes.NEGATIVE
self.colorHighlight = defaultColorCodes.HIGHLIGHT
rgbColor = {1,0,0}
self.showThousandsSeparators = true
self.thousandsSeparator = ","
self.decimalSeparator = "."
Expand Down

0 comments on commit 3b07541

Please sign in to comment.