Commit 21bce6a5 authored by 潘栩锋's avatar 潘栩锋 🚴

修复 机架修正 删除关键点 出错

parent 11400848
...@@ -1130,7 +1130,7 @@ namespace FLY.Thick.Base.UI ...@@ -1130,7 +1130,7 @@ namespace FLY.Thick.Base.UI
public void Remove(double x) public void Remove(double x)
{ {
int index = FindIndex(x); int index = FindIndex(x);
if (index != -1) if (index == -1)
return; return;
KeyPoints.RemoveAt(index); KeyPoints.RemoveAt(index);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment