Skip to content

Commit 6df7af9

Browse files
committed
sub: remove upper limits of margin-x and margin-y
1 parent 77dee9b commit 6df7af9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sub/osd.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@ static const m_option_t style_opts[] = {
5858
{"border-size", OPT_ALIAS("outline-size"), .alias_use_prefix = true},
5959
{"shadow-offset", OPT_FLOAT(shadow_offset)},
6060
{"spacing", OPT_FLOAT(spacing), M_RANGE(-10, 10)},
61-
{"margin-x", OPT_INT(margin_x), M_RANGE(0, 300)},
62-
{"margin-y", OPT_INT(margin_y), M_RANGE(0, 600)},
61+
{"margin-x", OPT_INT(margin_x), M_RANGE(0, INT_MAX)},
62+
{"margin-y", OPT_INT(margin_y), M_RANGE(0, INT_MAX)},
6363
{"align-x", OPT_CHOICE(align_x,
6464
{"left", -1}, {"center", 0}, {"right", +1})},
6565
{"align-y", OPT_CHOICE(align_y,

0 commit comments

Comments
 (0)