chore(modernx): bump to v0.6.1
This commit is contained in:
@@ -76,7 +76,7 @@ This project includes third party software from the projects listed below.
|
|||||||
### Scripts
|
### Scripts
|
||||||
* [autosubsync-mpv](https://github.com/joaquintorres/autosubsync-mpv) v0.33
|
* [autosubsync-mpv](https://github.com/joaquintorres/autosubsync-mpv) v0.33
|
||||||
* [mpv-autosub](https://github.com/davidde/mpv-autosub) based on commit 35115355bd339681f97d067538356c29e5b14afa
|
* [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
|
* [repl.lua](https://github.com/rossy/mpv-repl) based on commit f7538adea92b441f2c7edd5dc07dd50dac28d3d5
|
||||||
* [thumbfast](https://github.com/po5/thumbfast) based on commit 03e93feee5a85bf7c65db953ada41b4826e9f905
|
* [thumbfast](https://github.com/po5/thumbfast) based on commit 03e93feee5a85bf7c65db953ada41b4826e9f905
|
||||||
|
|
||||||
|
|||||||
+3
-2
@@ -54,7 +54,7 @@ local user_opts = {
|
|||||||
windowcontrols = 'auto', -- whether to show window controls
|
windowcontrols = 'auto', -- whether to show window controls
|
||||||
greenandgrumpy = false, -- disable santa hat
|
greenandgrumpy = false, -- disable santa hat
|
||||||
language = 'eng', -- eng=English, chs=Chinese
|
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
|
keyboardnavigation = false, -- enable directional keyboard navigation
|
||||||
chapter_fmt = "Chapter: %s", -- chapter print format for seekbar-hover. "no" to disable
|
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:new_event()
|
||||||
elem_ass:pos(thumbX * r_w, ty - thumbMarginY - thumbfast.height * r_h)
|
elem_ass:pos(thumbX * r_w, ty - thumbMarginY - thumbfast.height * r_h)
|
||||||
|
elem_ass:an(7)
|
||||||
elem_ass:append(osc_styles.Tooltip)
|
elem_ass:append(osc_styles.Tooltip)
|
||||||
elem_ass:draw_start()
|
elem_ass:draw_start()
|
||||||
elem_ass:rect_cw(-thumbPad * r_w, -thumbPad * r_h, (thumbfast.width + thumbPad) * r_w, (thumbfast.height + thumbPad) * r_h)
|
elem_ass:rect_cw(-thumbPad * r_w, -thumbPad * r_h, (thumbfast.width + thumbPad) * r_w, (thumbfast.height + thumbPad) * r_h)
|
||||||
@@ -2514,7 +2515,7 @@ function visibility_mode(mode, no_osd)
|
|||||||
end
|
end
|
||||||
|
|
||||||
user_opts.visibility = mode
|
user_opts.visibility = mode
|
||||||
utils.shared_script_property_set("osc-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
|
if not no_osd and tonumber(mp.get_property('osd-level')) >= 1 then
|
||||||
mp.osd_message('OSC visibility: ' .. mode)
|
mp.osd_message('OSC visibility: ' .. mode)
|
||||||
|
|||||||
Reference in New Issue
Block a user