feat: apply margin to osd-margin-* (#499)

* feat: apply margin to `osd-margin-y` and `osd-margin-x`

The margins were already set for `osc-margins` and
`user-data/osc/margins`, but osd messages have their own properties
`osd-margin-x` and `osd-margin-y`.
Offsetting `osd-margin-x` and `osd-margin-y` by our margin prevents
overlap of osd messages with the GUI.
This commit is contained in:
christoph-heinrich
2023-04-09 08:48:15 +02:00
committed by GitHub
parent 50c9629538
commit 6d58ef4c99
4 changed files with 52 additions and 19 deletions

View File

@@ -200,6 +200,8 @@ default_directory=~/
# - Linux: `sudo apt install trash-cli`
# - MacOS: `brew install trash`
use_trash=no
# Adjusted osd margins based on the visibility of UI elements
adjust_osd_margins=yes
# Adds chapter range indicators to some common chapter types.
# Additionally to displaying the start of the chapter as a diamond icon on top of the timeline,