@@ -1666,12 +1666,12 @@ layouts = function ()
1666
1666
1667
1667
-- Volumebar
1668
1668
lo = new_element (" volumebarbg" , " box" )
1669
- lo .visible = (osc_param .playresx >= 1000 - outeroffset ) and user_opts .volumecontrol
1669
+ lo .visible = (osc_param .playresx >= 950 - outeroffset ) and user_opts .volumecontrol
1670
1670
lo = add_layout (" volumebarbg" )
1671
1671
lo .geometry = {x = 200 - (showplaylist and 0 or 45 ), y = refY - 40 , an = 4 , w = 80 , h = 2 }
1672
1672
lo .layer = 13
1673
1673
lo .alpha [1 ] = 128
1674
- lo .style = user_opts .vol_bar_match_seek and osc_styles .SeekbarBg or osc_styles .volumebar_bg
1674
+ lo .style = user_opts .vol_bar_match_seek and osc_styles .seekbar_bg or osc_styles .volumebar_bg
1675
1675
1676
1676
lo = add_layout (" volumebar" )
1677
1677
lo .geometry = {x = 200 - (showplaylist and 0 or 45 ), y = refY - 40 , an = 4 , w = 80 , h = 8 }
@@ -1948,7 +1948,7 @@ local function osc_init()
1948
1948
ne = new_element (" sub_track" , " button" )
1949
1949
ne .enabled = sub_track_count > 0
1950
1950
ne .off = sub_track_count == 0 or not mp .get_property_native (" sid" )
1951
- ne .visible = (osc_param .playresx >= 600 - outeroffset )
1951
+ ne .visible = (osc_param .playresx >= 650 - outeroffset )
1952
1952
ne .content = icons .subtitle
1953
1953
ne .tooltip_style = osc_styles .tooltip
1954
1954
ne .tooltipF = function ()
@@ -1967,7 +1967,7 @@ local function osc_init()
1967
1967
ne = new_element (" tog_playlist" , " button" )
1968
1968
ne .enabled = have_pl or not user_opts .gray_empty_playlist_button
1969
1969
ne .off = not have_pl and user_opts .gray_empty_playlist_button
1970
- ne .visible = (osc_param .playresx >= 700 - outeroffset )
1970
+ ne .visible = (osc_param .playresx >= 750 - outeroffset )
1971
1971
ne .content = icons .playlist
1972
1972
ne .tooltip_style = osc_styles .tooltip
1973
1973
ne .tooltipF = have_pl and texts .playlist .. " [" .. pl_pos .. " /" .. pl_count .. " ]" or texts .playlist
@@ -1979,7 +1979,7 @@ local function osc_init()
1979
1979
ne = new_element (" vol_ctrl" , " button" )
1980
1980
ne .enabled = audio_track_count > 0
1981
1981
ne .off = audio_track_count == 0
1982
- ne .visible = (osc_param .playresx >= 760 - outeroffset ) and user_opts .volumecontrol
1982
+ ne .visible = (osc_param .playresx >= 850 - outeroffset ) and user_opts .volumecontrol
1983
1983
ne .content = function ()
1984
1984
local volume = mp .get_property_number (" volume" , 0 )
1985
1985
if state .mute then
@@ -2007,7 +2007,7 @@ local function osc_init()
2007
2007
2008
2008
-- volumebar
2009
2009
ne = new_element (" volumebar" , " slider" )
2010
- ne .visible = (osc_param .playresx >= 1000 - outeroffset ) and user_opts .volumecontrol
2010
+ ne .visible = (osc_param .playresx >= 950 - outeroffset ) and user_opts .volumecontrol
2011
2011
ne .enabled = audio_track_count > 0
2012
2012
ne .slider .markerF = function () return {} end
2013
2013
ne .slider .seekRangesF = function () return nil end
@@ -2050,13 +2050,13 @@ local function osc_init()
2050
2050
if user_opts .tooltip_hints then
2051
2051
ne .tooltipF = texts .statsinfo
2052
2052
end
2053
- ne .visible = (osc_param .playresx >= 600 - outeroffset - (user_opts .showfullscreen and 0 or 100 ))
2053
+ ne .visible = (osc_param .playresx >= 650 - outeroffset - (user_opts .showfullscreen and 0 or 100 ))
2054
2054
ne .eventresponder [" mbtn_left_up" ] = function () mp .commandv (" script-binding" , " stats/display-stats-toggle" ) end
2055
2055
2056
2056
-- tog_loop
2057
2057
ne = new_element (" tog_loop" , " button" )
2058
2058
ne .content = function () return state .looping and icons .loop_on or icons .loop_off end
2059
- ne .visible = (osc_param .playresx >= 700 - outeroffset - (user_opts .showinfo and 0 or 100 ) - (user_opts .showfullscreen and 0 or 100 ))
2059
+ ne .visible = (osc_param .playresx >= 750 - outeroffset - (user_opts .showinfo and 0 or 100 ) - (user_opts .showfullscreen and 0 or 100 ))
2060
2060
ne .tooltip_style = osc_styles .tooltip
2061
2061
if user_opts .tooltip_hints then
2062
2062
ne .tooltipF = function () return state .looping and texts .loopdisable or texts .loopenable end
@@ -2078,7 +2078,7 @@ local function osc_init()
2078
2078
if user_opts .tooltip_hints then
2079
2079
ne .tooltipF = function () return mp .get_property (" ontop" ) == " no" and texts .ontop or texts .ontopdisable end
2080
2080
end
2081
- ne .visible = (osc_param .playresx >= 760 - outeroffset - (user_opts .showloop and 0 or 100 ) - (user_opts .showinfo and 0 or 100 ) - (user_opts .showfullscreen and 0 or 100 ))
2081
+ ne .visible = (osc_param .playresx >= 850 - outeroffset - (user_opts .showloop and 0 or 100 ) - (user_opts .showinfo and 0 or 100 ) - (user_opts .showfullscreen and 0 or 100 ))
2082
2082
ne .eventresponder [" mbtn_left_up" ] = function ()
2083
2083
mp .commandv (" cycle" , " ontop" )
2084
2084
if state .initialborder == " yes" then
@@ -2103,7 +2103,7 @@ local function osc_init()
2103
2103
if user_opts .tooltip_hints then
2104
2104
ne .tooltipF = texts .screenshot
2105
2105
end
2106
- ne .visible = (osc_param .playresx >= 870 - outeroffset - (user_opts .showontop and 0 or 100 ) - (user_opts .showloop and 0 or 100 ) - (user_opts .showinfo and 0 or 100 ) - (user_opts .showfullscreen and 0 or 100 ))
2106
+ ne .visible = (osc_param .playresx >= 950 - outeroffset - (user_opts .showontop and 0 or 100 ) - (user_opts .showloop and 0 or 100 ) - (user_opts .showinfo and 0 or 100 ) - (user_opts .showfullscreen and 0 or 100 ))
2107
2107
ne .eventresponder [" mbtn_left_up" ] = function ()
2108
2108
local tempSubPosition = mp .get_property (" sub-pos" )
2109
2109
if user_opts .screenshot_flag == " subtitles" or user_opts .screenshot_flag == " subtitles+each-frame" then
@@ -2116,7 +2116,7 @@ local function osc_init()
2116
2116
-- download
2117
2117
ne = new_element (" download" , " button" )
2118
2118
ne .content = function () return state .downloading and icons .downloading or icons .download end
2119
- ne .visible = (osc_param .playresx >= 1000 - outeroffset - (user_opts .showscreenshot and 0 or 100 ) - (user_opts .showontop and 0 or 100 ) - (user_opts .showloop and 0 or 100 ) - (user_opts .showinfo and 0 or 100 ) - (user_opts .showfullscreen and 0 or 100 )) and state .isWebVideo
2119
+ ne .visible = (osc_param .playresx >= 1050 - outeroffset - (user_opts .showscreenshot and 0 or 100 ) - (user_opts .showontop and 0 or 100 ) - (user_opts .showloop and 0 or 100 ) - (user_opts .showinfo and 0 or 100 ) - (user_opts .showfullscreen and 0 or 100 )) and state .isWebVideo
2120
2120
ne .tooltip_style = osc_styles .tooltip
2121
2121
ne .tooltipF = function () return state .downloading and " Downloading..." or state .fileSizeNormalised end
2122
2122
ne .eventresponder [" mbtn_left_up" ] = function ()
0 commit comments