diff --git a/BetterLyrics.WinUI3/BetterLyrics.WinUI3 (Package)/Package.appxmanifest b/BetterLyrics.WinUI3/BetterLyrics.WinUI3 (Package)/Package.appxmanifest index cc52829..a9dbcf1 100644 --- a/BetterLyrics.WinUI3/BetterLyrics.WinUI3 (Package)/Package.appxmanifest +++ b/BetterLyrics.WinUI3/BetterLyrics.WinUI3 (Package)/Package.appxmanifest @@ -12,7 +12,7 @@ + Version="1.0.88.0" /> diff --git a/BetterLyrics.WinUI3/BetterLyrics.WinUI3/App.xaml b/BetterLyrics.WinUI3/BetterLyrics.WinUI3/App.xaml index e6fc9ba..4871517 100644 --- a/BetterLyrics.WinUI3/BetterLyrics.WinUI3/App.xaml +++ b/BetterLyrics.WinUI3/BetterLyrics.WinUI3/App.xaml @@ -5,6 +5,7 @@ xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:converter="using:BetterLyrics.WinUI3.Converter" xmlns:converters="using:CommunityToolkit.WinUI.Converters" + xmlns:globalization="using:Windows.Globalization" xmlns:local="using:BetterLyrics.WinUI3" xmlns:media="using:CommunityToolkit.WinUI.Media"> @@ -61,6 +62,7 @@ + @@ -337,6 +339,7 @@ ms-appx:///Assets/Segoe Fluent Icons.ttf#Segoe Fluent Icons + diff --git a/BetterLyrics.WinUI3/BetterLyrics.WinUI3/Constants/Link.cs b/BetterLyrics.WinUI3/BetterLyrics.WinUI3/Constants/Link.cs index 03f19c8..c64b871 100644 --- a/BetterLyrics.WinUI3/BetterLyrics.WinUI3/Constants/Link.cs +++ b/BetterLyrics.WinUI3/BetterLyrics.WinUI3/Constants/Link.cs @@ -9,6 +9,8 @@ namespace BetterLyrics.WinUI3.Constants public static class Link { public const string GitHubUrl = "https://github.com/jayfunc/BetterLyrics"; + public const string WikiUrl = "https://github.com/jayfunc/BetterLyrics/wiki"; + public const string AppleMusicCfgUrl = $"{WikiUrl}/Lyrics-provider-configuration#apple-music"; public const string FAQUrl = $"{GitHubUrl}/blob/dev/FAQ/index.md"; public const string QQGroupUrl = "https://qun.qq.com/universal-share/share?ac=1&authKey=4Q%2BYTq3wZldYpF5SbS5c19ECFsiYoLZFAIcBNNzYpBUtiEjaZ8sZ%2F%2BnFN0qw3lad&busi_data=eyJncm91cENvZGUiOiIxMDU0NzAwMzg4IiwidG9rZW4iOiJiVnhqemVYN0N5QVc3b1ZkR24wWmZOTUtvUkJoWm1JRWlaWW5iZnlBcXJtZUtGc2FFTHNlUlFZMi9iRm03cWF5IiwidWluIjoiMTM5NTczOTY2MCJ9&data=39UmAihyH_o6CZaOs7nk2mO_lz2ruODoDou6pxxh7utcxP4WF5sbDBDOPvZ_Wqfzeey4441anegsLYQJxkrBAA&svctype=4&tempid=h5_group_info"; public const string DiscordUrl = "https://discord.gg/5yAQPnyCKv"; diff --git a/BetterLyrics.WinUI3/BetterLyrics.WinUI3/Controls/AppSettingsControl.xaml b/BetterLyrics.WinUI3/BetterLyrics.WinUI3/Controls/AppSettingsControl.xaml index fb22243..270fe96 100644 --- a/BetterLyrics.WinUI3/BetterLyrics.WinUI3/Controls/AppSettingsControl.xaml +++ b/BetterLyrics.WinUI3/BetterLyrics.WinUI3/Controls/AppSettingsControl.xaml @@ -5,6 +5,8 @@ xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:controls="using:CommunityToolkit.WinUI.Controls" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" + xmlns:globalization="using:Windows.Globalization" + xmlns:helper="using:BetterLyrics.WinUI3.Helper" xmlns:local="using:BetterLyrics.WinUI3.Controls" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:ui="using:CommunityToolkit.WinUI" @@ -24,13 +26,19 @@ HeaderIcon="{ui:FontIcon FontFamily={StaticResource IconFontFamily}, Glyph=}" IsExpanded="True"> - - - - - - - + + + + + + + + + diff --git a/BetterLyrics.WinUI3/BetterLyrics.WinUI3/Controls/ExtendedSlider.xaml b/BetterLyrics.WinUI3/BetterLyrics.WinUI3/Controls/ExtendedSlider.xaml index 562f57f..b3f2e8f 100644 --- a/BetterLyrics.WinUI3/BetterLyrics.WinUI3/Controls/ExtendedSlider.xaml +++ b/BetterLyrics.WinUI3/BetterLyrics.WinUI3/Controls/ExtendedSlider.xaml @@ -19,6 +19,7 @@ StepFrequency="{x:Bind Frequency, Mode=OneWay}" TickFrequency="{x:Bind Frequency, Mode=OneWay}" TickPlacement="None" + ValueChanged="Slider_ValueChanged" Value="{x:Bind Value, Mode=TwoWay}" /> diff --git a/BetterLyrics.WinUI3/BetterLyrics.WinUI3/Controls/ExtendedSlider.xaml.cs b/BetterLyrics.WinUI3/BetterLyrics.WinUI3/Controls/ExtendedSlider.xaml.cs index ddf602f..0f8ee19 100644 --- a/BetterLyrics.WinUI3/BetterLyrics.WinUI3/Controls/ExtendedSlider.xaml.cs +++ b/BetterLyrics.WinUI3/BetterLyrics.WinUI3/Controls/ExtendedSlider.xaml.cs @@ -21,11 +21,18 @@ namespace BetterLyrics.WinUI3.Controls { public sealed partial class ExtendedSlider : UserControl { + public event EventHandler ValueChanged; + public ExtendedSlider() { InitializeComponent(); } + private void Slider_ValueChanged(object sender, RangeBaseValueChangedEventArgs e) + { + ValueChanged?.Invoke(sender, e); + } + private void Subtract() { if (Value - Frequency < Minimum) diff --git a/BetterLyrics.WinUI3/BetterLyrics.WinUI3/Controls/LyricsWindowSettingsControl.xaml b/BetterLyrics.WinUI3/BetterLyrics.WinUI3/Controls/LyricsWindowSettingsControl.xaml index 78f1ecf..d38fd09 100644 --- a/BetterLyrics.WinUI3/BetterLyrics.WinUI3/Controls/LyricsWindowSettingsControl.xaml +++ b/BetterLyrics.WinUI3/BetterLyrics.WinUI3/Controls/LyricsWindowSettingsControl.xaml @@ -92,7 +92,73 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -158,7 +224,11 @@ - +