Added custom coloring for tree nodes

This commit is contained in:
Robert Jelic
2025-10-12 22:37:05 +02:00
parent 57f8da9a90
commit dcc3ddabb6
4 changed files with 25 additions and 25 deletions

View File

@@ -536,7 +536,6 @@ function VisualElement:render()
local fgHex = tHex[self.get("foreground")]
local bgHex = tHex[self.get("background")]
self:multiBlit(1, 1, width, height, " ", fgHex, bgHex)
-- Draw integrated border after background fill
if (self.get("borderTop") or self.get("borderBottom") or self.get("borderLeft") or self.get("borderRight")) then
local bColor = self.get("borderColor") or self.get("foreground")
local bHex = tHex[bColor] or fgHex