chore(modernx): bump to v0.6.1

This commit is contained in:
2024-04-26 01:24:04 +02:00
parent 20a24fb101
commit b9248e4c33
2 changed files with 55 additions and 54 deletions
+1 -1
View File
@@ -76,7 +76,7 @@ This project includes third party software from the projects listed below.
### Scripts
* [autosubsync-mpv](https://github.com/joaquintorres/autosubsync-mpv) v0.33
* [mpv-autosub](https://github.com/davidde/mpv-autosub) based on commit 35115355bd339681f97d067538356c29e5b14afa
* [ModernX](https://github.com/cyl0/ModernX) v0.6.0
* [ModernX](https://github.com/cyl0/ModernX) v0.6.1
* [repl.lua](https://github.com/rossy/mpv-repl) based on commit f7538adea92b441f2c7edd5dc07dd50dac28d3d5
* [thumbfast](https://github.com/po5/thumbfast) based on commit 03e93feee5a85bf7c65db953ada41b4826e9f905
+4 -3
View File
@@ -54,7 +54,7 @@ local user_opts = {
windowcontrols = 'auto', -- whether to show window controls
greenandgrumpy = false, -- disable santa hat
language = 'eng', -- eng=English, chs=Chinese
volumecontrol = true, -- whether to show mute button and volumne slider
volumecontrol = true, -- whether to show mute button and volume slider
keyboardnavigation = false, -- enable directional keyboard navigation
chapter_fmt = "Chapter: %s", -- chapter print format for seekbar-hover. "no" to disable
}
@@ -823,6 +823,7 @@ function render_elements(master_ass)
elem_ass:new_event()
elem_ass:pos(thumbX * r_w, ty - thumbMarginY - thumbfast.height * r_h)
elem_ass:an(7)
elem_ass:append(osc_styles.Tooltip)
elem_ass:draw_start()
elem_ass:rect_cw(-thumbPad * r_w, -thumbPad * r_h, (thumbfast.width + thumbPad) * r_w, (thumbfast.height + thumbPad) * r_h)
@@ -2513,8 +2514,8 @@ function visibility_mode(mode, no_osd)
return
end
user_opts.visibility = mode
utils.shared_script_property_set("osc-visibility", mode)
user_opts.visibility = mode
mp.set_property_native("user-data/osc/visibility", user_opts.visibility)
if not no_osd and tonumber(mp.get_property('osd-level')) >= 1 then
mp.osd_message('OSC visibility: ' .. mode)