improve:墨迹延迟

This commit is contained in:
2025-09-13 21:38:03 +08:00
parent ec3bcddc9d
commit 5361f8ae6f
10 changed files with 79 additions and 45 deletions
+1 -1
View File
@@ -222,7 +222,7 @@ namespace Ink_Canvas
var menuItem = sender as MenuItem;
if (menuItem != null)
{
var headerPanel = menuItem.Header as iNKORE.UI.WPF.Modern.Controls.SimpleStackPanel;
var headerPanel = menuItem.Header as SimpleStackPanel;
if (headerPanel != null)
{
var textBlock = headerPanel.Children[0] as TextBlock;