feat(浮动工具栏): 添加退出按钮并优化UI样式

- 在浮动工具栏中添加退出按钮的本地化文本
- 移除未使用的BoardMenuFrame相关动画代码
- 调整浮动工具栏中元素的边距和圆角样式
- 将退出按钮文本改为使用i18n资源
This commit is contained in:
PrefacedCorg
2026-05-02 00:56:58 +08:00
parent 07ebbfbd24
commit dada05aabb
4 changed files with 11 additions and 11 deletions
-6
View File
@@ -1,4 +1,3 @@
using Ink_Canvas.Controls;
using System;
using System.Windows;
using System.Windows.Media;
@@ -10,11 +9,6 @@ namespace Ink_Canvas.Helpers
{
private static UIElement ResolveAnimationTarget(UIElement element)
{
if (element is BoardMenuFrame frame)
{
frame.ApplyTemplate();
return frame.AnimationTarget ?? element;
}
return element;
}