We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c9406a5 commit 394c07fCopy full SHA for 394c07f
src/main/java/net/itarray/automotion/internal/UIElement.java
@@ -152,8 +152,8 @@ public boolean hasEqualBottomOffsetAs(UIElement other) {
152
private <V extends MetricSpace<V>> boolean hasEqualExtendAs(UIElement other, ExtendGiving<V> direction, Context context) {
153
Expression<Boolean> equal = Expression.equalTo(
154
ElementPropertyExpression.extend(direction, this),
155
- ElementPropertyExpression.extend(direction, this));
156
- return getExtend(direction).equals(other.getExtend(direction));
+ ElementPropertyExpression.extend(direction, other));
+ return equal.evaluateIn(context, direction);
157
}
158
159
public boolean hasSameWidthAs(UIElement other, Context context) {
0 commit comments