1
0
mirror of https://github.com/mpv-player/mpv synced 2025-02-05 22:52:18 +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'.
``deadzonesize``
| Default: 1.0
| Default: 0.5
| 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
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
-- user, but internally negative is "always-on".
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
-- move between ticks to make the OSC show up
iamaprogrammer = false, -- use native mpv values and disable OSC
-- internal track list management (and some
-- functions that depend on it)
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
timetotal = false, -- display total time instead of remaining time?
timems = false, -- display timecodes with milliseconds?