template-carousel-mobile/0004-on.update

12 lines
439 B
Plaintext

on.update = function(dt)
refresh_debug_animations()
if App.mouse_down(1) then
update_any_sliders(App.mouse_x(), App.mouse_y())
end
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
if car.update then call_protected(car.update, dt) end
end