History

sub/osd: adjust osd margins

norinoriko committed 1 year ago

Commit 68d9ed21 parent 4b11f662 files · +4 −4Browse files

Unified · Split

2 files
  1. DOCS/man/options.rst +2 −2
  2. sub/osd.c +2 −2
DOCS/man/options.rst+2−2
@@ -4601,7 +4601,7 @@ OSD · 4600 unmodified lines
46014601 This option specifies the distance of the OSD to the left, as well as at
46024602 which distance from the right border long OSD text will be broken.
46034603
4604− Default: 15
4604+ Default: 16
46054605
46064606 ``--osd-margin-y=<size>``
46074607 Top and bottom screen margin for the OSD in scaled pixels (see
@@ -4609,7 +4609,7 @@ OSD · 1 unmodified line
46094609
46104610 This option specifies the vertical margins of the OSD.
46114611
4612− Default: 15
4612+ Default: 16
46134613
46144614 ``--osd-align-x=<left|center|right>``
46154615 Control to which corner of the screen OSD should be
sub/osd.c+2−2
@@ -88,8 +88,8 @@ const struct m_sub_options osd_style_conf = { · 87 unmodified lines
8888 .border_style = 1,
8989 .outline_size = 1.65,
9090 .shadow_offset = 0,
91− .margin_x = 15,
92− .margin_y = 15,
91+ .margin_x = 16,
92+ .margin_y = 16,
9393 .align_x = -1,
9494 .align_y = -1,
9595 },

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t