Revert "allow tile list icons to be rendered properly"

This reverts commit 508777897b.
the fix was incorrect. the icon should be set to the pen when it is
not a string, the icon_pen is only for when it is a string
develop
Myk Taylor 2023-01-30 08:48:45 -08:00
parent 282da701bb
commit ab4c766817
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

@ -1713,7 +1713,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:tile(nil,icon) dc:char(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)