13 lines
496 B
Plaintext
13 lines
496 B
Plaintext
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
|
|
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 |