mirror of
https://github.com/JustinZeus/Wholphin.git
synced 2026-07-09 08:01:20 +02:00
Add setting for subtitle outline size (#375)
Adds a settings allowing for adjusting the thickness of unstyled subtitle outlines, if outline is enabled. This is applied for both ExoPlayer & MPV Closes #179  Dev note: the ExoPlayer implementation is bad code, don't write code like this. It works though
This commit is contained in:
parent
a197f6911b
commit
ac10517028
9 changed files with 116 additions and 0 deletions
|
|
@ -0,0 +1,14 @@
|
|||
package com.github.damontecres.wholphin.test
|
||||
|
||||
import com.github.damontecres.wholphin.util.Media3SubtitleOverride
|
||||
import org.junit.Assert
|
||||
import org.junit.Test
|
||||
|
||||
class TestMedia3SubtitleOverride {
|
||||
@Test
|
||||
fun test() {
|
||||
// This tests whether the class and field names exist
|
||||
Media3SubtitleOverride(2f)
|
||||
Assert.assertTrue(Media3SubtitleOverride.Companion.initialized)
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue