add:基于IPC的IACore在net6的实现

This commit is contained in:
2026-05-02 00:40:49 +08:00
parent fff52aa282
commit 94142ec8a5
5 changed files with 15 additions and 88 deletions
+1 -10
View File
@@ -1,4 +1,3 @@
using Ink_Canvas.Controls;
using System;
using System.Windows;
using System.Windows.Media;
@@ -8,15 +7,7 @@ namespace Ink_Canvas.Helpers
{
internal class AnimationsHelper
{
private static UIElement ResolveAnimationTarget(UIElement element)
{
if (element is BoardMenuFrame frame)
{
frame.ApplyTemplate();
return frame.AnimationTarget ?? element;
}
return element;
}
private static UIElement ResolveAnimationTarget(UIElement element) => element;
public static void ShowWithFadeIn(UIElement element, double duration = 0.15)
{