summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--player/lua/osc.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/player/lua/osc.lua b/player/lua/osc.lua
index 2c4a9d9558..8223bc77c1 100644
--- a/player/lua/osc.lua
+++ b/player/lua/osc.lua
@@ -985,7 +985,8 @@ function window_controls(alignment, topbar)
if alignment == "left" then
controlbox_left = wc_geo.x
titlebox_left = wc_geo.x + controlbox_w + 5
- elseif alignment == "right" then
+ elseif alignment == "right" or
+ alignment == "yes" then
-- Already default
else
msg.error("Invalid setting \""..alignment.."\" for windowcontrols")