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

@@ -16,6 +16,7 @@ abstract final class DanmakuOptions {
static double danmakuStaticDuration = Pref.danmakuStaticDuration;
static double danmakuStrokeWidth = Pref.strokeWidth;
static bool scrollFixedVelocity = Pref.danmakuFixedV;
static bool static2Scroll = Pref.static2Scroll;
static bool massiveMode = Pref.danmakuMassiveMode;
static double danmakuLineHeight = Pref.danmakuLineHeight;
@@ -38,7 +39,7 @@ abstract final class DanmakuOptions {
strokeWidth: danmakuStrokeWidth,
scrollFixedVelocity: scrollFixedVelocity,
massiveMode: massiveMode,
static2Scroll: true,
static2Scroll: static2Scroll,
safeArea: true,
lineHeight: danmakuLineHeight,
);