Skip to content

Commit

Permalink
fix: timeline_step=0 not canceling timeline stepping
Browse files Browse the repository at this point in the history
ref #910
  • Loading branch information
tomasklaen committed Sep 3, 2024
1 parent 3733f71 commit 961c6e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/uosc/elements/Timeline.lua
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ function Timeline:render()
self:handle_cursor_down()
cursor:once('primary_up', function() self:handle_cursor_up() end)
end)
if options.timeline_step ~= 0 then
if config.timeline_step ~= 0 then
cursor:zone('wheel_down', self, function()
mp.commandv('seek', -config.timeline_step, config.timeline_step_flag)
end)
Expand Down

0 comments on commit 961c6e2

Please sign in to comment.