diff options
author | wm4 <wm4@nowhere> | 2019-12-23 11:50:31 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2019-12-23 12:06:33 +0100 |
commit | 86d24b069bac540ada60a063bf62c46e045261f8 (patch) | |
tree | be2ecaca24dd228d938c5a9d6c0e5ce72b4fffc8 /player/lua/osc.lua | |
parent | 490b3ba007c7142a0eeb1f13f69180b55dc472ca (diff) | |
download | mpv-86d24b069bac540ada60a063bf62c46e045261f8.tar.bz2 mpv-86d24b069bac540ada60a063bf62c46e045261f8.tar.xz |
osc: set an arbitrary high Z-order
The main reason for this is just to make show the OSC always above
console.lua, instead of a random order.
(And this is also the only reason osc.lua was changed to the new API.
The old API could have been extended, but lets not.)
Diffstat (limited to 'player/lua/osc.lua')
-rw-r--r-- | player/lua/osc.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/player/lua/osc.lua b/player/lua/osc.lua index c7d155d0f0..17816dd507 100644 --- a/player/lua/osc.lua +++ b/player/lua/osc.lua @@ -137,6 +137,7 @@ function set_osd(res_x, res_y, text) state.osd.res_x = res_x state.osd.res_y = res_y state.osd.data = text + state.osd.z = 1000 state.osd:update() end |