mirror of
https://github.com/rebelonion/Dantotsu.git
synced 2026-01-25 14:21:01 +00:00
feat(subtitles): color picker. Clear data after this. (#547)
* feat(subtitle): custom color picker * can't have two of the same buttons smh * It was a misinput * Too much
This commit is contained in:
@@ -96,14 +96,14 @@ enum class PrefName(val data: Pref) { //TODO: Split this into multiple files
|
||||
Subtitles(Pref(Location.Player, Boolean::class, true)),
|
||||
TextviewSubtitles(Pref(Location.Player, Boolean::class, false)),
|
||||
SubLanguage(Pref(Location.Player, Int::class, 9)),
|
||||
PrimaryColor(Pref(Location.Player, Int::class, 4)),
|
||||
SecondaryColor(Pref(Location.Player, Int::class, 0)),
|
||||
PrimaryColor(Pref(Location.Player, Int::class, Color.WHITE)),
|
||||
SecondaryColor(Pref(Location.Player, Int::class, Color.BLACK)),
|
||||
Outline(Pref(Location.Player, Int::class, 0)),
|
||||
SubBackground(Pref(Location.Player, Int::class, 0)),
|
||||
SubWindow(Pref(Location.Player, Int::class, 0)),
|
||||
SubBackground(Pref(Location.Player, Int::class, Color.TRANSPARENT)),
|
||||
SubWindow(Pref(Location.Player, Int::class, Color.TRANSPARENT)),
|
||||
SubAlpha(Pref(Location.Player, Float::class, 1f)),
|
||||
SubStroke(Pref(Location.Player, Float::class, 8f)),
|
||||
SubBottomMargin(Pref(Location.Player, Float::class, 4f)),
|
||||
SubBottomMargin(Pref(Location.Player, Float::class, 1f)),
|
||||
Font(Pref(Location.Player, Int::class, 0)),
|
||||
FontSize(Pref(Location.Player, Int::class, 20)),
|
||||
Locale(Pref(Location.Player, Int::class, 2)),
|
||||
@@ -220,4 +220,4 @@ enum class PrefName(val data: Pref) { //TODO: Split this into multiple files
|
||||
Socks5ProxyPort(Pref(Location.Protected, String::class, "")),
|
||||
Socks5ProxyUsername(Pref(Location.Protected, String::class, "")),
|
||||
Socks5ProxyPassword(Pref(Location.Protected, String::class, "")),
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user