16 lines
479 B
Plaintext
16 lines
479 B
Plaintext
A = function()
|
|
-- print('A')
|
|
love.graphics.setFont(love.graphics.newFont(scale(20))) -- editor objects implicitly depend on current font
|
|
-- translate some page in Global_state to Surface
|
|
Surface = {}
|
|
if Global_state.thread == nil then
|
|
lay_out_file_picker()
|
|
else
|
|
compute_layout(Global_state.thread, 0,0, Surface, skip_updating_screen_top_for)
|
|
end
|
|
compute_viewport_bounds()
|
|
-- continue the pipeline
|
|
B()
|
|
-- TODO: ugly that we're manipulating editor objects twice
|
|
end
|