Skip to content

Commit

Permalink
Merge pull request #39 from Xurdejl/fix/mouse-wheel-show-tracklist
Browse files Browse the repository at this point in the history
fix: mouse wheel button show track list
  • Loading branch information
cyl0 authored Dec 5, 2022
2 parents 76a3127 + 4c5bbcc commit ef39326
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modernx.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1568,7 +1568,7 @@ function osc_init()
function () set_track('audio', 1) end
ne.eventresponder['mbtn_right_up'] =
function () set_track('audio', -1) end
ne.eventresponder['mbtn_mid_up'] =
ne.eventresponder['shift+mbtn_left_down'] =
function () show_message(get_tracklist('audio')) end
ne.eventresponder['enter'] =
function () set_track('audio', 1); show_message(get_tracklist('audio')) end
Expand Down Expand Up @@ -1601,7 +1601,7 @@ function osc_init()
function () set_track('sub', 1) end
ne.eventresponder['mbtn_right_up'] =
function () set_track('sub', -1) end
ne.eventresponder['mbtn_mid_up'] =
ne.eventresponder['shift+mbtn_left_down'] =
function () show_message(get_tracklist('sub')) end
ne.eventresponder['enter'] =
function () set_track('sub', 1); show_message(get_tracklist('sub')) end
Expand Down

0 comments on commit ef39326

Please sign in to comment.