add static2Scroll option

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2026-01-01 12:44:08 +08:00
parent 87c7699324
commit 80e007bac6
6 changed files with 93 additions and 74 deletions

View File

@@ -192,6 +192,7 @@ abstract final class SettingBoxKey {
danmakuStaticDuration = 'danmakuStaticDuration',
danmakuMassiveMode = 'danmakuMassiveMode',
danmakuFixedV = 'danmakuFixedV',
static2Scroll = 'static2Scroll',
danmakuLineHeight = 'danmakuLineHeight',
strokeWidth = 'strokeWidth',
fontWeight = 'fontWeight';

View File

@@ -322,6 +322,9 @@ abstract final class Pref {
static bool get danmakuFixedV =>
_setting.get(SettingBoxKey.danmakuFixedV, defaultValue: false);
static bool get static2Scroll =>
_setting.get(SettingBoxKey.static2Scroll, defaultValue: false);
static double get subtitleFontScale =>
_setting.get(SettingBoxKey.subtitleFontScale, defaultValue: 1.0);