From 4f38eb82949df104f6d09722bd242edee887b6d5 Mon Sep 17 00:00:00 2001
From: uye <99072975+ABA2396@users.noreply.github.com>
Date: Tue, 14 Jul 2026 16:41:11 +0800
Subject: [PATCH] =?UTF-8?q?perf:=20=E4=BC=98=E5=8C=96=E7=95=8C=E9=9D=A2?=
=?UTF-8?q?=E5=B8=83=E5=B1=80?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../DepotMaintainTaskUserControl.xaml | 371 +++++++++---------
1 file changed, 195 insertions(+), 176 deletions(-)
diff --git a/src/MaaWpfGui/Views/UserControl/TaskQueue/DepotMaintainTaskUserControl.xaml b/src/MaaWpfGui/Views/UserControl/TaskQueue/DepotMaintainTaskUserControl.xaml
index 1f737f2302..49b57b8f70 100644
--- a/src/MaaWpfGui/Views/UserControl/TaskQueue/DepotMaintainTaskUserControl.xaml
+++ b/src/MaaWpfGui/Views/UserControl/TaskQueue/DepotMaintainTaskUserControl.xaml
@@ -26,6 +26,7 @@
@@ -34,7 +35,7 @@
VerticalAlignment="Bottom"
d:IsHitTestVisible="True"
Command="{s:Action AddPlan}"
- Content="添加"
+ Content="{DynamicResource AddPlan}"
IsHitTestVisible="{c:Binding !IsCurrentTaskRunning,
Source={x:Static ui_vms:TaskQueueViewModel.TaskSettingVisibilities}}" />
@@ -70,185 +71,203 @@
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
+ hc:InfoElement.Placeholder="{DynamicResource DefaultStage}"
+ IsEnabled="{c:Binding !IsStageItemDragging,
+ Source={x:Static ui_vms:TaskQueueViewModel.FightTask}}"
+ Opacity="{c:Binding 'IsOpen ? 1 : 0.5'}"
+ Text="{Binding Stage, UpdateSourceTrigger=PropertyChanged}"
+ ToolTip="{DynamicResource IsStageManuallyTip}"
+ Visibility="{c:Binding IsStageManually,
+ Source={x:Static ui_vms:TaskQueueViewModel.DepotMaintainTask}}" />
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+