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
4601 This option specifies the distance of the OSD to the left, as well as at4601 This option specifies the distance of the OSD to the left, as well as at
4602 which distance from the right border long OSD text will be broken.4602 which distance from the right border long OSD text will be broken.
4603 4603
4604 Default: 154604 Default: 16
4605 4605
4606``--osd-margin-y=<size>``4606``--osd-margin-y=<size>``
4607 Top and bottom screen margin for the OSD in scaled pixels (see4607 Top and bottom screen margin for the OSD in scaled pixels (see
@@ -4609,7 +4609,7 @@ OSD · 1 unmodified line
4609 4609
4610 This option specifies the vertical margins of the OSD.4610 This option specifies the vertical margins of the OSD.
4611 4611
4612 Default: 154612 Default: 16
4613 4613
4614``--osd-align-x=<left|center|right>``4614``--osd-align-x=<left|center|right>``
4615 Control to which corner of the screen OSD should be4615 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
88 .border_style = 1,88 .border_style = 1,
89 .outline_size = 1.65,89 .outline_size = 1.65,
90 .shadow_offset = 0,90 .shadow_offset = 0,
91 .margin_x = 15,91 .margin_x = 16,
92 .margin_y = 15,92 .margin_y = 16,
93 .align_x = -1,93 .align_x = -1,
94 .align_y = -1,94 .align_y = -1,
95 },95 },

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