Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…zydezu/ModernX/issues/36), reverting the keyframe change (button functions are swapped)
  • Loading branch information
zydezu committed Jul 29, 2024
1 parent 92b5887 commit a4e7dce
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions modernx.lua
Original file line number Diff line number Diff line change
Expand Up @@ -3067,15 +3067,15 @@ function osc_init()
end

end
ne.eventresponder['mbtn_left_down'] =
ne.eventresponder['mbtn_left_down'] = --exact seeks on left click
function (element)
element.state.mbtnleft = true
mp.commandv('seek', get_slider_value(element), 'absolute-percent')
mp.commandv('seek', get_slider_value(element), 'absolute-percent', 'exact')
end
ne.eventresponder['shift+mbtn_left_down'] = --exact seeks on shift + left click
ne.eventresponder['shift+mbtn_left_down'] = --keyframe seeks on shift+left click
function (element)
element.state.mbtnleft = true
mp.commandv('seek', get_slider_value(element), 'absolute-percent', 'exact')
mp.commandv('seek', get_slider_value(element), 'absolute-percent')
end
ne.eventresponder['mbtn_left_up'] =
function (element)
Expand Down

0 comments on commit a4e7dce

Please sign in to comment.