diff options
author | Guido Cella <guido@guidocella.xyz> | 2023-11-28 12:11:50 +0100 |
---|---|---|
committer | Dudemanguy <random342@airmail.cc> | 2024-02-26 16:01:21 +0000 |
commit | 09f6f28cc2fc39a2407ab2f32c192f6152360fb6 (patch) | |
tree | be229321e2ffa26fdcdbaee9f6563379cbc37784 /sub/osd_libass.c | |
parent | 1a194e149ce68430c4aa4a61dc3efa5db455ca4b (diff) | |
download | mpv-09f6f28cc2fc39a2407ab2f32c192f6152360fb6.tar.bz2 mpv-09f6f28cc2fc39a2407ab2f32c192f6152360fb6.tar.xz |
osd_libass: update the OSD bar's dent and border size
Make the OSD bar markers bigger so we can default to a smaller,
better-looking border size, without sacrificing markers' visibility.
Diffstat (limited to 'sub/osd_libass.c')
-rw-r--r-- | sub/osd_libass.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sub/osd_libass.c b/sub/osd_libass.c index d5d317d776..f8d78fdfcc 100644 --- a/sub/osd_libass.c +++ b/sub/osd_libass.c @@ -466,7 +466,7 @@ static void update_progbar(struct osd_state *osd, struct osd_object *obj) // chapter marks for (int n = 0; n < obj->progbar_state.num_stops; n++) { float s = obj->progbar_state.stops[n] * width; - float dent = border * 1.3; + float dent = MPMAX(border * 1.3, 1.6); if (s > dent && s < width - dent) { ass_draw_move_to(d, s + dent, 0); |