mpv/player/lua
llyyr 4198e6f35f osc: don't add margins to osc-deadzonesize
Currently, the osc will add a margin of (osc_height / 2) to the
deadzonesize for the window controls, the topbar and the bottombar,
i.e. when osc-deadzonesize=1, the osc will show up even if the cursor
is only hovering (osc_height / 2) pixels above or below it. This is not
what this option is supposed to do according to the manual, instead
osc-deadzonesize=1 should result in the osc only appearing when it is
directly hovered. The user can simply set osc-deadzonesize=0.9 or so if
such a margin is desired, instead make the option work as advertised by
removing this margin.

It should be noted that osc-layout=box does not share this behavior,
and it already works as advertised in the manual.
2023-07-21 20:24:18 +02:00
..
assdraw.lua osc: improve look of seekranges 2019-09-02 01:11:04 +03:00
auto_profiles.lua auto_profiles: try to distinguish invalid properties better 2023-04-07 01:48:55 +00:00
console.lua console: sort the output from the `help` command 2023-07-14 13:06:01 +00:00
defaults.lua lua/js: remove user-data helpers 2023-01-29 01:52:31 +02:00
options.lua lua: read_options: find script-opts prefix at index 1 exactly 2023-06-01 15:11:55 +03:00
osc.lua osc: don't add margins to osc-deadzonesize 2023-07-21 20:24:18 +02:00
stats.lua stats.lua: set sans-serif as default font 2023-07-10 16:58:54 +02:00
ytdl_hook.lua ytdl_hook: fix clip start and end 2023-04-12 02:14:09 +00:00