14 lines
476 B
Plaintext
14 lines
476 B
Plaintext
on.draw = function()
|
|
Global_state.button_handlers = {}
|
|
draw_canvas()
|
|
if Show_code then
|
|
draw_editor_border()
|
|
edit.draw(Current_pane.editor_state, --[[fg]] nil, --[[hide_cursor]] nil, --[[show_line_numbers]] true)
|
|
draw_scrollbar(Current_pane.editor_state)
|
|
draw_output_border()
|
|
edit.draw(Current_pane.output_editor_state, Normal_color, --[[hide cursor]] true)
|
|
draw_scrollbar(Current_pane.output_editor_state)
|
|
end
|
|
draw_menu()
|
|
draw_next_frames_of_animations()
|
|
end |