Commit 9b90b80d authored by 潘栩锋's avatar 潘栩锋 🚴

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

parent 3ba68a2a
...@@ -951,7 +951,7 @@ namespace FLY.Thick.Base.UI ...@@ -951,7 +951,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