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