update UI

This commit is contained in:
2026-08-11 09:19:13 -07:00
parent 97a3f1be48
commit 4eda93cf24
31 changed files with 952 additions and 95 deletions
+4
View File
@@ -133,6 +133,7 @@ struct OverlayFileConfig {
viewer_color: Option<String>,
danmaku_color: Option<String>,
font_scale: Option<u16>,
decoration_line_weight: Option<u16>,
max_visible: Option<u8>,
collapse_after_seconds: Option<u16>,
unfold_duration_ms: Option<u16>,
@@ -333,6 +334,9 @@ fn overlay_defaults(file: OverlayFileConfig) -> OverlaySettings {
viewer_color: file.viewer_color.or(default.viewer_color),
danmaku_color: file.danmaku_color.or(default.danmaku_color),
font_scale: file.font_scale.unwrap_or(default.font_scale),
decoration_line_weight: file
.decoration_line_weight
.unwrap_or(default.decoration_line_weight),
show_danmaku: file.events.danmaku.unwrap_or(default.show_danmaku),
show_enter: file.events.enter.unwrap_or(default.show_enter),
show_gift: file.events.gift.unwrap_or(default.show_gift),