This commit is contained in:
Kartik K. Agaram 2023-06-20 22:10:14 -07:00
parent 8a95025036
commit 50449ba7c6
1 changed files with 2 additions and 2 deletions

View File

@ -17,7 +17,7 @@ compute_layout = function(node, x,y, nodes_to_render, preserve_screen_top_of_cur
local n = {type='rectangle', drawmode='line', r=node.border.r, g=node.border.g, b=node.border.b, x=node.x, y=node.y, rx=node.rx, ry=node.ry}
table.insert(pending_nodes, n)
table.insert(nodes_to_render, n)
end
end
-- render contents
if node.width then
node.w = node.width
@ -101,4 +101,4 @@ compute_layout = function(node, x,y, nodes_to_render, preserve_screen_top_of_cur
end
end
return x+node.w,y+node.h
end
end