|
@@ -27,11 +27,11 @@ class TwoStraightLine extends TwoLengthAbstract<TwoStraightLineFeature> {
|
|
|
final metaY = meta.childItems[1];
|
|
|
|
|
|
if (ifVertical) {
|
|
|
- x = StraightLine.createDistance(metaX, this);
|
|
|
- y = StraightLine.createDistance(metaY, this);
|
|
|
- } else {
|
|
|
x = StraightLine.createVerticalDistance(metaX, this);
|
|
|
y = StraightLine.createVerticalDistance(metaY, this);
|
|
|
+ } else {
|
|
|
+ x = StraightLine.createDistance(metaX, this);
|
|
|
+ y = StraightLine.createDistance(metaY, this);
|
|
|
}
|
|
|
childItems.add(x);
|
|
|
childItems.add(y);
|