1
0
mirror of https://github.com/mpv-player/mpv synced 2025-02-11 09:27:26 +00:00

osc: compromise on default deadzonesize

This way people can still use the mouse to quickly check the elapsed time
without moving it all the way to the bottom while still having half the screen
to ignore mouse movement.
This commit is contained in:
Ricardo Constantino 2016-10-26 17:16:50 +01:00
parent 4abd23bd95
commit 22133f8efc
No known key found for this signature in database
GPG Key ID: EFD16019AE4FF531
2 changed files with 3 additions and 3 deletions

View File

@ -158,7 +158,7 @@ Configurable Options
Default pre-0.21.0 was 'slider'. Default pre-0.21.0 was 'slider'.
``deadzonesize`` ``deadzonesize``
| Default: 1.0 | Default: 0.5
| Size of the deadzone. The deadzone is an area that makes the mouse act | Size of the deadzone. The deadzone is an area that makes the mouse act
like leaving the window. Movement there won't make the OSC show up and like leaving the window. Movement there won't make the OSC show up and
it will hide immediately if the mouse enters it. The deadzone starts it will hide immediately if the mouse enters it. The deadzone starts

View File

@ -25,14 +25,14 @@ local user_opts = {
-- mouse movement. enforced non-negative for the -- mouse movement. enforced non-negative for the
-- user, but internally negative is "always-on". -- user, but internally negative is "always-on".
fadeduration = 200, -- duration of fade out in ms, 0 = no fade fadeduration = 200, -- duration of fade out in ms, 0 = no fade
deadzonesize = 1, -- size of deadzone deadzonesize = 0.5, -- size of deadzone
minmousemove = 0, -- minimum amount of pixels the mouse has to minmousemove = 0, -- minimum amount of pixels the mouse has to
-- move between ticks to make the OSC show up -- move between ticks to make the OSC show up
iamaprogrammer = false, -- use native mpv values and disable OSC iamaprogrammer = false, -- use native mpv values and disable OSC
-- internal track list management (and some -- internal track list management (and some
-- functions that depend on it) -- functions that depend on it)
layout = "bottombar", layout = "bottombar",
seekbarstyle = "bar", -- slider (diamond marker) or bar (fill) seekbarstyle = "bar", -- slider (diamond marker) or bar (fill)
tooltipborder = 1, -- border of tooltip in bottom/topbar tooltipborder = 1, -- border of tooltip in bottom/topbar
timetotal = false, -- display total time instead of remaining time? timetotal = false, -- display total time instead of remaining time?
timems = false, -- display timecodes with milliseconds? timems = false, -- display timecodes with milliseconds?