From 55d07a8cae86da7c05472ebb52ba5712e5f68b8a Mon Sep 17 00:00:00 2001 From: Myk Taylor Date: Wed, 1 Feb 2023 14:51:46 -0800 Subject: [PATCH] actually use the tile --- library/lua/gui/widgets.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/lua/gui/widgets.lua b/library/lua/gui/widgets.lua index 4228bc9ad..21143f053 100644 --- a/library/lua/gui/widgets.lua +++ b/library/lua/gui/widgets.lua @@ -1112,7 +1112,7 @@ function render_text(obj,dc,x0,y0,pen,dpen,disabled) if dc then local tile_pen = tonumber(token.tile) and to_pen{tile=token.tile} or token.tile - dc:char(nil, token.tile) + dc:char(nil, tile_pen) if token.width then dc:advance(token.width-1) end