diff options
author | Ricardo Constantino <wiiaboo@gmail.com> | 2016-10-07 00:19:34 +0100 |
---|---|---|
committer | Ricardo Constantino <wiiaboo@gmail.com> | 2016-10-15 12:24:01 +0100 |
commit | 8bb57c038799da39e72491888d0fc19beb493d62 (patch) | |
tree | cff825d3a3b047fd7d39655bb5c2b071a9233f46 /player | |
parent | 13259f35c805d50b8c4abdf3a201a2deb2f38a72 (diff) | |
download | mpv-8bb57c038799da39e72491888d0fc19beb493d62.tar.bz2 mpv-8bb57c038799da39e72491888d0fc19beb493d62.tar.xz |
osc: change default layout to bottombar
Change a few other defaults accordingly:
- seekbarstyle=bar looks better with bottombar.
- Bigger scalewindowed and scalefullscreen make bottom/topbar more readable.
Diffstat (limited to 'player')
-rw-r--r-- | player/lua/osc.lua | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/player/lua/osc.lua b/player/lua/osc.lua index 07d6f03984..150aa547dd 100644 --- a/player/lua/osc.lua +++ b/player/lua/osc.lua @@ -11,8 +11,8 @@ local opt = require 'mp.options' local user_opts = { showwindowed = true, -- show OSC when windowed? showfullscreen = true, -- show OSC when fullscreen? - scalewindowed = 1, -- scaling of the controller when windowed - scalefullscreen = 1, -- scaling of the controller when fullscreen + scalewindowed = 1.5, -- scaling of the controller when windowed + scalefullscreen = 1.5, -- scaling of the controller when fullscreen scaleforcedwindow = 2, -- scaling when rendered on a forced window vidscale = true, -- scale the controller with the video? valign = 0.8, -- vertical alignment, -1 (top) to 1 (bottom) @@ -23,14 +23,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 = 0, -- size of deadzone - minmousemove = 3, -- minimum amount of pixels the mouse has to + deadzonesize = 1, -- 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 = "box", - seekbarstyle = "slider", -- slider (diamond marker) or bar (fill) + layout = "bottombar", + 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? |