summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChrisK2 <spam@kalania.de>2015-01-02 19:38:14 +0100
committerDiogo Franco (Kovensky) <diogomfranco@gmail.com>2015-01-25 17:00:17 +0900
commit465bd38dc6de58e11923f52e52c14a5f6f054f7c (patch)
tree089b33c29cbae8958d47f3137c0cab7e4c9537e3
parent5992ff785c78d97c87de8161dacf5aa727ddd387 (diff)
downloadmpv-465bd38dc6de58e11923f52e52c14a5f6f054f7c.tar.bz2
mpv-465bd38dc6de58e11923f52e52c14a5f6f054f7c.tar.xz
OSC: idlemessage: fix alignment
-rw-r--r--player/lua/osc.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/player/lua/osc.lua b/player/lua/osc.lua
index ebf845972a..49a9d460ce 100644
--- a/player/lua/osc.lua
+++ b/player/lua/osc.lua
@@ -1852,7 +1852,7 @@ function tick()
-- render idle message
msg.debug("idle message")
- local icon_x, icon_y = 320 - 28, 140
+ local icon_x, icon_y = 320 - 26, 140
local ass = assdraw.ass_new()
ass:new_event()
@@ -1874,9 +1874,9 @@ function tick()
ass:pos(icon_x, icon_y)
ass:append("{\\an7\\c&HE5E5E5&\\1a&H00&\\bord0\\shad0\\p6}m 895 10 b 401 10 0 410 0 905 0 1399 401 1800 895 1800 1390 1800 1790 1399 1790 905 1790 410 1390 10 895 10 m 895 10 m 925 42 b 1388 42 1763 418 1763 880 1763 1343 1388 1718 925 1718 463 1718 87 1343 87 880 87 418 463 42 925 42{\\p0}")
ass:new_event()
- ass:pos(320, icon_y+40)
+ ass:pos(320, icon_y+65)
ass:an(8)
- ass:append("\\N\\NDrop files to play here.")
+ ass:append("Drop files to play here.")
mp.set_osd_ass(640, 360, ass.text)
mp.disable_key_bindings("showhide")