|
@@ -65,7 +65,7 @@ class Spline extends AreaItemAbstract with AutoSnapMixin {
|
|
|
}
|
|
|
doCalculate();
|
|
|
|
|
|
- checkAutoSnap(args);
|
|
|
+ f.isSnapped = checkAutoSnap(args);
|
|
|
}
|
|
|
return true;
|
|
|
}
|
|
@@ -99,7 +99,7 @@ class SplineFeature extends AreaItemFeatureAbstract {
|
|
|
void paint(Canvas canvas, Size size) {
|
|
|
if (innerPoints.isEmpty) return;
|
|
|
final paintPoints = innerPoints;
|
|
|
- if ((refItem as AutoSnapMixin).snapState) {
|
|
|
+ if (isSnapped) {
|
|
|
paintPoints.removeLast();
|
|
|
}
|
|
|
drawId(canvas, size);
|