mirror of
https://github.com/mpv-player/mpv
synced 2024-12-28 10:02:17 +00:00
osc: replace sub-forced-only with sub-forced-events-only
This commit is contained in:
parent
a062f115a1
commit
92fe8f1a4e
@ -1982,7 +1982,7 @@ function osc_init()
|
||||
ne.content = function ()
|
||||
local base_a = tog_forced_only.layout.alpha
|
||||
local alpha = base_a[1]
|
||||
if not mp.get_property_bool("sub-forced-only-cur") then
|
||||
if not mp.get_property_bool("sub-forced-events-only") then
|
||||
alpha = 255
|
||||
end
|
||||
local ret = assdraw.ass_new()
|
||||
@ -1994,7 +1994,7 @@ function osc_init()
|
||||
return ret.text
|
||||
end
|
||||
ne.eventresponder["mbtn_left_up"] = function ()
|
||||
mp.set_property_bool("sub-forced-only", (not mp.get_property_bool("sub-forced-only-cur")))
|
||||
mp.set_property_bool("sub-forced-events-only", (not mp.get_property_bool("sub-forced-events-only")))
|
||||
end
|
||||
|
||||
--tog_fs
|
||||
|
Loading…
Reference in New Issue
Block a user