1
0
mirror of https://github.com/mpv-player/mpv synced 2025-03-11 08:37:59 +00:00

command: only avoid redrawing when old and new osd are both hidden

The `osd-overlay` command didn't trigger a redraw when the overlay was
set to hidden.
This is fine when the overlay was already hidden before that, but
transitioning from not hidden to hidden requires a redraw.
This commit is contained in:
Christoph Heinrich 2023-02-07 19:06:22 +01:00 committed by sfan5
parent 180b4faed0
commit 8f76673608