diff options
author | dec05eba <dec05eba@protonmail.com> | 2022-03-05 07:16:25 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2022-03-05 07:23:15 +0100 |
commit | 63d18f733602f9b7381a03b72a17662a99c44fc2 (patch) | |
tree | 01992222bf601f8398b330a4bb08f9f0a98f4383 /mpv/scripts | |
parent | 8923e0d8f268462b2a7dfabe2545e1d6bda5615a (diff) |
Fix video fullscreen button, double-click fullscreen
Fix video seekbar mouse collision not working for the top of the seekbar
Diffstat (limited to 'mpv/scripts')
-rw-r--r-- | mpv/scripts/mordenx.lua | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/mpv/scripts/mordenx.lua b/mpv/scripts/mordenx.lua index 1b6bd5a..2df72c3 100644 --- a/mpv/scripts/mordenx.lua +++ b/mpv/scripts/mordenx.lua @@ -114,9 +114,9 @@ local osc_styles = { SeekbarBg = '{\\blur0\\bord0\\1c&HFFFFFF&}',
SeekbarFg = '{\\blur1\\bord1\\1c&HE39C42&}',
Ctrl1 = '{\\blur0\\bord0\\1c&HFFFFFF&\\3c&HFFFFFF&\\fs36\\fnmaterial-design-iconic-font}',
- Ctrl2 = '{\\blur0\\bord0\\1c&HFFFFFF&\\3c&HFFFFFF&\\fs24\\fnmaterial-design-iconic-font}',
- Ctrl2Flip = '{\\blur0\\bord0\\1c&HFFFFFF&\\3c&HFFFFFF&\\fs24\\fnmaterial-design-iconic-font\\fry180',
- Ctrl3 = '{\\blur0\\bord0\\1c&HFFFFFF&\\3c&HFFFFFF&\\fs24\\fnmaterial-design-iconic-font}',
+ Ctrl2 = '{\\blur0\\bord0\\1c&HFFFFFF&\\3c&HFFFFFF&\\fs30\\fnmaterial-design-iconic-font}',
+ Ctrl2Flip = '{\\blur0\\bord0\\1c&HFFFFFF&\\3c&HFFFFFF&\\fs30\\fnmaterial-design-iconic-font\\fry180',
+ Ctrl3 = '{\\blur0\\bord0\\1c&HFFFFFF&\\3c&HFFFFFF&\\fs30\\fnmaterial-design-iconic-font}',
Time = '{\\blur0\\bord0\\1c&HFFFFFF&\\3c&H000000&\\fs20\\fn' .. user_opts.font .. '}',
Tooltip = '{\\blur1\\bord0.5\\1c&HFFFFFF&\\3c&H000000&\\fs18\\fn' .. user_opts.font .. '}',
Title = '{\\blur1\\bord0.5\\1c&HFFFFFF&\\3c&H0\\fs32\\q2\\fn' .. user_opts.font .. '}',
@@ -1098,7 +1098,7 @@ layouts = function () osc_param.areas = {} -- delete areas
-- area for active mouse input
- add_area('input', get_hitbox_coords(posX, posY, 1, osc_geo.w, 104))
+ add_area('input', get_hitbox_coords(posX, posY, 1, osc_geo.w, 113))
-- area for show/hide
add_area('showhide', 0, 0, osc_param.playresx, osc_param.playresy)
@@ -1489,7 +1489,7 @@ function osc_init() end
ne.visible = (osc_param.playresx >= 540)
ne.eventresponder['mbtn_left_up'] =
- function () mp.commandv('cycle', 'fullscreen') end
+ function () mp.commandv("cycle", "fullscreen") end
--tog_info
ne = new_element('tog_info', 'button')
|