pothi.love/0018-on.update

14 lines
296 B
Plaintext
Raw Permalink Normal View History

on.update = function(dt)
2023-06-23 02:18:02 +01:00
if Global_state.thread then
update_all_editors(Global_state.thread, dt)
end
if Pan then
set_mouse_cursor('hand')
2023-02-19 04:52:12 +00:00
Viewport.x = Pan.x - App.mouse_x()/Viewport.zoom
Viewport.y = Pan.y - App.mouse_y()/Viewport.zoom
B()
else
set_mouse_cursor('arrow')
end
2023-11-13 04:44:52 +00:00
end