Skip to content

Commit f1dcfde

Browse files
committed
Call fixlinesfor when resizing
Fixed typo Whoops, fixed wrong variable name
1 parent a952360 commit f1dcfde

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pdlua_gfx.h

+1
Original file line numberDiff line numberDiff line change
@@ -668,6 +668,7 @@ static int set_size(lua_State* L)
668668
obj->gfx.width = luaL_checknumber(L, 1);
669669
obj->gfx.height = luaL_checknumber(L, 2);
670670
pdlua_gfx_repaint(obj, 0);
671+
canvas_fixlinesfor(obj->canvas, (t_text*)obj);
671672
return 0;
672673
}
673674

0 commit comments

Comments
 (0)