This commit is contained in:
parent
8a95025036
commit
50449ba7c6
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue