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
|
2023-06-21 03:35:32 +01:00
|
|
|
-- translate Global_state.root to Surface
|
2023-04-08 17:22:11 +01:00
|
|
|
Surface = {}
|
2023-06-21 03:35:32 +01:00
|
|
|
compute_layout(Global_state.root, 0,0, Surface, preserve_screen_top_of_cursor_node)
|
2023-04-08 17:22:11 +01:00
|
|
|
-- continue the pipeline
|
|
|
|
B(preserve_screen_top_of_cursor_node)
|
|
|
|
-- TODO: ugly that we're manipulating editor objects twice
|
|
|
|
end
|