sokoban.love/0004-on.update

8 lines
299 B
Plaintext
Raw Normal View History

on.update = function()
refresh_debug_animations()
if Current_pane.editor_state.scrollbar_drag then
adjust_scrollbar(Current_pane.editor_state, App.mouse_y())
elseif Current_pane.output_editor_state.scrollbar_drag then
adjust_scrollbar(Current_pane.output_editor_state, App.mouse_y())
end
end