From 22133f8efc7b1593ba79c56065c8c06b5055c45a Mon Sep 17 00:00:00 2001 From: Ricardo Constantino Date: Wed, 26 Oct 2016 17:16:50 +0100 Subject: 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. --- DOCS/man/osc.rst | 2 +- player/lua/osc.lua | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/DOCS/man/osc.rst b/DOCS/man/osc.rst index f4e4b5b670..c5c75d6a72 100644 --- a/DOCS/man/osc.rst +++ b/DOCS/man/osc.rst @@ -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 diff --git a/player/lua/osc.lua b/player/lua/osc.lua index 30d080b429..3a6328d7e2 100644 --- a/player/lua/osc.lua +++ b/player/lua/osc.lua @@ -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? -- cgit v1.2.3