Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

osd/console: default to semitransparent back color #15549

Merged
merged 2 commits into from
Jan 3, 2025

Conversation

guidocella
Copy link
Contributor

sub/osd: default to a semitransparent black back color

By default OSD and subs have no shadow, but if you do set a --osd/sub-shadow-offset, the current default white shadow color looks bad around white text with black border. Default to semitransparent black instead. Use the same color box profiles were using to allow removing it from there.

console.lua: inherit --osd-back-color

The previous commit changed --osd-back/shadow-color to nearly the same one console was using. This allows unhardcoding it from there and using --osd-back-color even with --osd-border-style=outline-and-shadow for consistency with the rest of the OSD.

By default OSD and subs have no shadow, but if you do set a
--osd/sub-shadow-offset, the current default white shadow color looks
bad around white text with black border. Default to semitransparent
black instead. Use the same color box profiles were using to allow
removing it from there.
Copy link

github-actions bot commented Dec 20, 2024

Download the artifacts for this pull request:

Windows
macOS

The previous commit changed --osd-back/shadow-color to nearly the same
one console was using. This allows unhardcoding it from there and using
--osd-back-color even with --osd-border-style=outline-and-shadow for
consistency with the rest of the OSD.
Copy link
Contributor

@kasper93 kasper93 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, let's see who will get mad about this change.

@kasper93 kasper93 merged commit f21b3f8 into mpv-player:master Jan 3, 2025
26 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants