This commit is contained in:
PrefacedCorg
2026-04-17 01:20:06 +08:00
parent 8a8cf9a679
commit edc94547ab
10 changed files with 73 additions and 68 deletions
+2 -2
View File
@@ -65,7 +65,7 @@ namespace Ink_Canvas.Controls
set => SetValue(LabelFontSizeProperty, value);
}
public event RoutedEventHandler ButtonMouseUp;
public event MouseButtonEventHandler ButtonMouseUp;
public QuickPanelButton()
{
@@ -74,7 +74,7 @@ namespace Ink_Canvas.Controls
private void ButtonPanel_MouseUp(object sender, MouseButtonEventArgs e)
{
ButtonMouseUp?.Invoke(this, new RoutedEventArgs(e.RoutedEvent, this));
ButtonMouseUp?.Invoke(this, e);
}
}
}