From 23e63b48296ebb913a1c6cf1ddfafb1ade46320f Mon Sep 17 00:00:00 2001 From: sabihoshi Date: Sat, 29 May 2021 22:01:16 +0800 Subject: [PATCH] Fix typo for Delimiter --- GenshinLyreMidiPlayer.WPF/GenshinLyreMidiPlayer.WPF.csproj | 2 +- GenshinLyreMidiPlayer.WPF/ViewModels/PianoSheetViewModel.cs | 4 ++-- GenshinLyreMidiPlayer.WPF/Views/PianoSheetView.xaml | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/GenshinLyreMidiPlayer.WPF/GenshinLyreMidiPlayer.WPF.csproj b/GenshinLyreMidiPlayer.WPF/GenshinLyreMidiPlayer.WPF.csproj index 0a6415d..337e986 100644 --- a/GenshinLyreMidiPlayer.WPF/GenshinLyreMidiPlayer.WPF.csproj +++ b/GenshinLyreMidiPlayer.WPF/GenshinLyreMidiPlayer.WPF.csproj @@ -6,7 +6,7 @@ true GenshinLyreMidiPlayer.WPF.App app.manifest - 2.1.0 + 2.1.0.1 item_windsong_lyre.ico enable https://github.com/sabihoshi/GenshinLyreMidiPlayer diff --git a/GenshinLyreMidiPlayer.WPF/ViewModels/PianoSheetViewModel.cs b/GenshinLyreMidiPlayer.WPF/ViewModels/PianoSheetViewModel.cs index 3221e57..9a7bedc 100644 --- a/GenshinLyreMidiPlayer.WPF/ViewModels/PianoSheetViewModel.cs +++ b/GenshinLyreMidiPlayer.WPF/ViewModels/PianoSheetViewModel.cs @@ -21,7 +21,7 @@ public PianoSheetViewModel(SettingsPageViewModel settingsPage, PlaylistView = playlistView; } - [OnChangedMethod(nameof(Update))] public char Delimeter { get; set; } = '.'; + [OnChangedMethod(nameof(Update))] public char Delimiter { get; set; } = '.'; public PlaylistViewModel PlaylistView { get; } @@ -82,7 +82,7 @@ public void Update() var difference = note.Time - last; var dotCount = difference / Shorten; - sb.Append(new string(Delimeter, (int) dotCount)); + sb.Append(new string(Delimiter, (int) dotCount)); sb.Append(key.ToString().Last()); last = (int) note.Time; diff --git a/GenshinLyreMidiPlayer.WPF/Views/PianoSheetView.xaml b/GenshinLyreMidiPlayer.WPF/Views/PianoSheetView.xaml index baf87b1..c739886 100644 --- a/GenshinLyreMidiPlayer.WPF/Views/PianoSheetView.xaml +++ b/GenshinLyreMidiPlayer.WPF/Views/PianoSheetView.xaml @@ -32,8 +32,8 @@ - - + +