summaryrefslogtreecommitdiffstats
path: root/player/lua/osc.lua
diff options
context:
space:
mode:
Diffstat (limited to 'player/lua/osc.lua')
-rw-r--r--player/lua/osc.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/player/lua/osc.lua b/player/lua/osc.lua
index ee18d0f89f..848fd25d34 100644
--- a/player/lua/osc.lua
+++ b/player/lua/osc.lua
@@ -1054,6 +1054,9 @@ function window_controls(alignment, topbar)
if topbar then
-- The title is already there as part of the top bar
return
+ else
+ -- Apply boxvideo margins to the control bar
+ osc_param.video_margins.t = wsc_geo.h / osc_param.playresy
end
-- Window Title