From 340a41f920f9b106a7dd43df6840de3c95cfcef3 Mon Sep 17 00:00:00 2001 From: Zhe Fang Date: Mon, 10 Nov 2025 18:10:13 -0500 Subject: [PATCH] fix: clone missing properties copy --- .../Models/LyricsWindowStatus.cs | 1 + .../Settings/LyricsBackgroundSettings.cs | 16 ++++++++++++++-- .../Models/Settings/LyricsEffectSettings.cs | 18 ++++++++++++++++++ 3 files changed, 33 insertions(+), 2 deletions(-) diff --git a/BetterLyrics.WinUI3/BetterLyrics.WinUI3/Models/LyricsWindowStatus.cs b/BetterLyrics.WinUI3/BetterLyrics.WinUI3/Models/LyricsWindowStatus.cs index da93fcb..1a5ca38 100644 --- a/BetterLyrics.WinUI3/BetterLyrics.WinUI3/Models/LyricsWindowStatus.cs +++ b/BetterLyrics.WinUI3/BetterLyrics.WinUI3/Models/LyricsWindowStatus.cs @@ -185,6 +185,7 @@ namespace BetterLyrics.WinUI3.Models DemoWindowBounds = this.DemoWindowBounds, MonitorBounds = this.MonitorBounds, DemoMonitorBounds = this.DemoMonitorBounds, + DockPlacement = this.DockPlacement, LyricsStyleSettings = (LyricsStyleSettings)this.LyricsStyleSettings.Clone(), LyricsEffectSettings = (LyricsEffectSettings)this.LyricsEffectSettings.Clone(), LyricsBackgroundSettings = (LyricsBackgroundSettings)this.LyricsBackgroundSettings.Clone(), diff --git a/BetterLyrics.WinUI3/BetterLyrics.WinUI3/Models/Settings/LyricsBackgroundSettings.cs b/BetterLyrics.WinUI3/BetterLyrics.WinUI3/Models/Settings/LyricsBackgroundSettings.cs index 2bb24b8..8f4e1aa 100644 --- a/BetterLyrics.WinUI3/BetterLyrics.WinUI3/Models/Settings/LyricsBackgroundSettings.cs +++ b/BetterLyrics.WinUI3/BetterLyrics.WinUI3/Models/Settings/LyricsBackgroundSettings.cs @@ -40,12 +40,24 @@ namespace BetterLyrics.WinUI3.Models.Settings return new LyricsBackgroundSettings { LyricsBackgroundTheme = this.LyricsBackgroundTheme, + + IsPureColorOverlayEnabled = this.IsPureColorOverlayEnabled, + PureColorOverlayOpacity = this.PureColorOverlayOpacity, + + IsCoverOverlayEnabled = this.IsCoverOverlayEnabled, CoverOverlayBlurAmount = this.CoverOverlayBlurAmount, CoverOverlayOpacity = this.CoverOverlayOpacity, - PureColorOverlayOpacity = this.PureColorOverlayOpacity, CoverOverlaySpeed = this.CoverOverlaySpeed, CoverAcrylicEffectAmount = this.CoverAcrylicEffectAmount, - PaletteGeneratorType = this.PaletteGeneratorType + + IsFluidOverlayEnabled = this.IsFluidOverlayEnabled, + FluidOverlayOpacity = this.FluidOverlayOpacity, + PaletteGeneratorType = this.PaletteGeneratorType, + + IsSpectrumOverlayEnabled = this.IsSpectrumOverlayEnabled, + + IsSnowFlakeOverlayEnabled = this.IsSnowFlakeOverlayEnabled, + SnowFlakeOverlayAmount = this.SnowFlakeOverlayAmount, }; } } diff --git a/BetterLyrics.WinUI3/BetterLyrics.WinUI3/Models/Settings/LyricsEffectSettings.cs b/BetterLyrics.WinUI3/BetterLyrics.WinUI3/Models/Settings/LyricsEffectSettings.cs index 21f6905..a270305 100644 --- a/BetterLyrics.WinUI3/BetterLyrics.WinUI3/Models/Settings/LyricsEffectSettings.cs +++ b/BetterLyrics.WinUI3/BetterLyrics.WinUI3/Models/Settings/LyricsEffectSettings.cs @@ -61,24 +61,42 @@ namespace BetterLyrics.WinUI3.Models.Settings return new LyricsEffectSettings(this.LyricsScrollTopDuration, this.LyricsScrollDuration, this.LyricsScrollBottomDuration, this.LyricsScrollEasingType) { LyricsBlurAmount = this.LyricsBlurAmount, + IsLyricsLineFadeEnabled = this.IsLyricsLineFadeEnabled, + IsLyricsGlowEffectEnabled = this.IsLyricsGlowEffectEnabled, LyricsGlowEffectScope = this.LyricsGlowEffectScope, LyricsGlowEffectAmount = this.LyricsGlowEffectAmount, + IsLyricsShadowEnabled = this.IsLyricsShadowEnabled, LyricsShadowScope = this.LyricsShadowScope, LyricsShadowAmount = this.LyricsShadowAmount, + OriginalLyricsHighlightScope = this.OriginalLyricsHighlightScope, PhoneticLyricsHighlightAmount = this.PhoneticLyricsHighlightAmount, OriginalLyricsHighlightAmount = this.OriginalLyricsHighlightAmount, TranslatedLyricsHighlightAmount = this.TranslatedLyricsHighlightAmount, + IsLyricsFloatAnimationEnabled = this.IsLyricsFloatAnimationEnabled, LyricsFloatAmount = this.LyricsFloatAmount, + + LyricsScrollEasingType = this.LyricsScrollEasingType, + LyricsScrollDuration = this.LyricsScrollDuration, + LyricsScrollTopDuration = this.LyricsScrollTopDuration, + LyricsScrollBottomDuration = this.LyricsScrollBottomDuration, LyricsScrollTopDelay = this.LyricsScrollTopDelay, LyricsScrollBottomDelay = this.LyricsScrollBottomDelay, + LyricsVerticalEdgeOpacity = this.LyricsVerticalEdgeOpacity, + IsFanLyricsEnabled = this.IsFanLyricsEnabled, FanLyricsAngle = this.FanLyricsAngle, + + Is3DLyricsEnabled = this.Is3DLyricsEnabled, + Lyrics3DXAngle = this.Lyrics3DXAngle, + Lyrics3DYAngle = this.Lyrics3DYAngle, + Lyrics3DZAngle = this.Lyrics3DZAngle, + Lyrics3DDepth = this.Lyrics3DDepth, }; } }