allow tile list icons to be rendered properly

develop
Myk Taylor 2023-01-12 22:30:47 -08:00
parent 478b5ada39
commit 508777897b
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

@ -1694,7 +1694,7 @@ function List:onRenderBody(dc)
local function paint_icon(icon, obj) local function paint_icon(icon, obj)
if type(icon) ~= 'string' then if type(icon) ~= 'string' then
dc:char(nil,icon) dc:tile(nil,icon)
else else
if current then if current then
dc:string(icon, obj.icon_pen or self.icon_pen or cur_pen) dc:string(icon, obj.icon_pen or self.icon_pen or cur_pen)