This commit is contained in:
kwai
2023-03-15 19:35:53 +08:00
parent 035a725da3
commit 70dac7d41c
10 changed files with 124 additions and 28 deletions

View File

@@ -659,6 +659,10 @@ namespace AIStudio.Wpf.Mind.ViewModels
{
SelectedItems.OfType<MindNode>().ToList().ForEach(p => p.Priority = priority);
}
else
{
SelectedItems.OfType<MindNode>().ToList().ForEach(p => p.Priority = null);
}
}
private void ExecuteAddRatioCommand(object obj)

View File

@@ -265,8 +265,8 @@ namespace AIStudio.Wpf.Mind.ViewModels
}
}
private double _priority;
public double Priority
private double? _priority;
public double? Priority
{
get
{
@@ -278,8 +278,8 @@ namespace AIStudio.Wpf.Mind.ViewModels
}
}
private double _rate;
public double Rate
private double? _rate;
public double? Rate
{
get
{