mirror of
https://github.com/JustinZeus/Wholphin.git
synced 2026-07-09 16:11:20 +02:00
Setting for subtitle margin & fix subtitle opacity settings (#338)
Adds a subtitle style option to set the margin below unstyled subtitles. This is roughly the percent of the screen below the subtitles. It applies to both ExoPlayer & MPV. Also fixes font & background opacity not being applied in some cases. Fixes #225 Closes #178
This commit is contained in:
parent
7f50cd83ee
commit
296d7b9226
8 changed files with 130 additions and 49 deletions
|
|
@ -152,4 +152,5 @@ fun SubtitlePreferences.Builder.resetSubtitles() {
|
|||
backgroundColor = SubtitleSettings.BackgroundColor.defaultValue.toArgb()
|
||||
backgroundOpacity = SubtitleSettings.BackgroundOpacity.defaultValue.toInt()
|
||||
backgroundStyle = SubtitleSettings.BackgroundStylePref.defaultValue
|
||||
margin = SubtitleSettings.Margin.defaultValue.toInt()
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue