Skip to content

Commit

Permalink
Fix typo for Delimiter
Browse files Browse the repository at this point in the history
  • Loading branch information
sabihoshi committed May 29, 2021
1 parent 0e89ae9 commit 23e63b4
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion GenshinLyreMidiPlayer.WPF/GenshinLyreMidiPlayer.WPF.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<UseWPF>true</UseWPF>
<StartupObject>GenshinLyreMidiPlayer.WPF.App</StartupObject>
<ApplicationManifest>app.manifest</ApplicationManifest>
<Version>2.1.0</Version>
<Version>2.1.0.1</Version>
<ApplicationIcon>item_windsong_lyre.ico</ApplicationIcon>
<Nullable>enable</Nullable>
<RepositoryUrl>https://github.com/sabihoshi/GenshinLyreMidiPlayer</RepositoryUrl>
Expand Down
4 changes: 2 additions & 2 deletions GenshinLyreMidiPlayer.WPF/ViewModels/PianoSheetViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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; }

Expand Down Expand Up @@ -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;
Expand Down
4 changes: 2 additions & 2 deletions GenshinLyreMidiPlayer.WPF/Views/PianoSheetView.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@
</TextBlock>

<ui:SimpleStackPanel Orientation="Horizontal">
<GroupBox Header="Delimeter">
<TextBox Text="{Binding Delimeter, UpdateSourceTrigger=PropertyChanged}" />
<GroupBox Header="Delimiter">
<TextBox Text="{Binding Delimiter, UpdateSourceTrigger=PropertyChanged}" />
</GroupBox>

<GroupBox Header="Layout">
Expand Down

0 comments on commit 23e63b4

Please sign in to comment.