mirror of
https://github.com/mpv-player/mpv.git
synced 2025-12-28 05:33:14 +00:00
console.lua: add margin_{x,y} script-opts
Allow configuring the margins from the left bottom indipendently of
--osd-margin-{x,y}.
Fixes #15478.
This commit is contained in:
committed by
Kacper Michajłow
parent
db70ae6fa2
commit
5dbaa69138
1
DOCS/interface-changes/console-margins.txt
Normal file
1
DOCS/interface-changes/console-margins.txt
Normal file
@@ -0,0 +1 @@
|
||||
add `console-margin-x` and `console-margin-y` script-opts
|
||||
@@ -169,6 +169,16 @@ Configurable Options
|
||||
|
||||
Set the font border size used for the REPL and the console.
|
||||
|
||||
``margin_x``
|
||||
Default: same as ``--osd-margin-x``
|
||||
|
||||
The margin from the left of the window.
|
||||
|
||||
``margin_y``
|
||||
Default: same as ``--osd-margin-y``
|
||||
|
||||
The margin from the bottom of the window.
|
||||
|
||||
``scale_with_window``
|
||||
Default: ``auto``
|
||||
|
||||
|
||||
Reference in New Issue
Block a user