perf(wpf): wpf自动战斗列表中作业设置按钮左键单击还原为解析指定作业,新增行为修改至右键,解析作业并关闭列表

This commit is contained in:
status102
2025-09-13 19:57:37 +08:00
parent 1077b08c19
commit 43ea1f94df

View File

@@ -562,7 +562,7 @@ namespace MaaWpfGui.ViewModels.UI
if (e?.Source is FrameworkElement element && element.Tag is int index)
{
Filename = CopilotItemViewModels[index].FilePath; // 假设原方法接受int参数
if (e.ChangedButton == MouseButton.Left)
if (e.ChangedButton == MouseButton.Right)
{
UseCopilotList = false;
}