Skip to content

Commit 8d5aa2e

Browse files
authored
Merge pull request #27 from Samillion/dev_select_release
Embrace interactive lists
2 parents 004f9fb + c6a6dae commit 8d5aa2e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

modernz.lua

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1689,7 +1689,7 @@ local function osc_init()
16891689
ne.eventresponder["enter"] =
16901690
function () mp.command("cycle audio") end
16911691
ne.eventresponder["mbtn_right_up"] =
1692-
function () mp.command("cycle audio down") end
1692+
function () open_selector("aid") end
16931693
ne.eventresponder["shift+mbtn_left_down"] =
16941694
function () mp.command("show-text ${track-list} 3000") end
16951695

@@ -1715,7 +1715,7 @@ local function osc_init()
17151715
ne.eventresponder["enter"] =
17161716
function () mp.command("cycle sub") end
17171717
ne.eventresponder["mbtn_right_up"] =
1718-
function () mp.command("cycle sub down") end
1718+
function () open_selector("sid") end
17191719
ne.eventresponder["shift+mbtn_left_down"] =
17201720
function () mp.command("show-text ${track-list} 3000") end
17211721

@@ -1726,9 +1726,9 @@ local function osc_init()
17261726
ne.tooltip_style = osc_styles.Tooltip
17271727
ne.tooltipF = pl_count > 0 and texts.playlist .. " [" .. pl_pos .. "/" .. pl_count .. "]" or texts.playlist
17281728
ne.eventresponder["mbtn_left_up"] =
1729-
function () mp.command("show-text ${playlist} 3000") end
1730-
ne.eventresponder["mbtn_right_up"] =
17311729
function () open_selector("playlist") end
1730+
ne.eventresponder["mbtn_right_up"] =
1731+
function () mp.command("show-text ${playlist} 3000") end
17321732

17331733
-- vol_ctrl
17341734
ne = new_element("vol_ctrl", "button")

0 commit comments

Comments
 (0)