Commit 92dfc669 authored by 潘栩锋's avatar 潘栩锋 :bicyclist:

修复 当没有膜时,没有膜边, 边界查找界面 异常出错

parent 29995785
...@@ -393,12 +393,14 @@ namespace FLY.Thick.Base.UI ...@@ -393,12 +393,14 @@ namespace FLY.Thick.Base.UI
UpdateRange(); UpdateRange();
if (response.border != null)
{
Sensor0AtBorderBegin = response.border.Begin - SensorWidth / 2;
Sensor0AtBorderWidth = SensorWidth;
Sensor0AtBorderBegin = response.border.Begin - SensorWidth / 2; Sensor1AtBorderBegin = response.border.End - SensorWidth / 2;
Sensor0AtBorderWidth = SensorWidth; Sensor1AtBorderWidth = SensorWidth;
}
Sensor1AtBorderBegin = response.border.End - SensorWidth / 2;
Sensor1AtBorderWidth = SensorWidth;
}, this); }, this);
} }
......
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