Skip to content

Commit

Permalink
Merge pull request #1324 from rokujyushi/Fix_LyricBox
Browse files Browse the repository at this point in the history
Fix LyricBox
  • Loading branch information
stakira authored Nov 13, 2024
2 parents 4b49dd6 + 3fd07fd commit 45f3604
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions OpenUtau/Controls/LyricBox.axaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -135,8 +135,8 @@ private void OnTab(KeyModifiers keyModifiers) {
}

public void ListBox_PointerPressed(object sender, PointerPressedEventArgs args) {
if (sender is Grid grid &&
grid.DataContext is LyricBoxViewModel.SuggestionItem item) {
if (sender is DockPanel panel &&
panel.DataContext is LyricBoxViewModel.SuggestionItem item) {
box.Text = item.Alias;
}
EndEdit(true);
Expand Down

0 comments on commit 45f3604

Please sign in to comment.