pothi.love/0028-A

13 lines
496 B
Plaintext
Raw Normal View History

2023-04-08 17:22:11 +01:00
A = function(preserve_screen_top_of_cursor_node)
-- print('A')
love.graphics.setFont(love.graphics.newFont(scale(20))) -- editor objects implicitly depend on current font
-- translate Definitions to Surface
Surface = {}
for key,node in pairs(Definitions) do
node.key = key
2023-04-08 17:22:11 +01:00
compute_layout(node, node.x,node.y, Surface, preserve_screen_top_of_cursor_node)
end
-- continue the pipeline
B(preserve_screen_top_of_cursor_node)
-- TODO: ugly that we're manipulating editor objects twice
end