pothi.love/0028-A

10 lines
443 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 Global_state.root to Surface
2023-04-08 17:22:11 +01:00
Surface = {}
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