Skip to content

Commit a293dd0

Browse files
author
Denys Zaiats
committed
[master] - fix for drawing the offsets lines
1 parent ab4a77b commit a293dd0

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/main/java/net/itarray/automotion/internal/ResponsiveUIChunkValidatorBase.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
public class ResponsiveUIChunkValidatorBase extends ResponsiveUIValidatorBase implements ChunkUIElementValidator {
2020

2121
private final List<UIElement> rootElements;
22+
//private final OffsetLineCommands offsetLineCommands = new OffsetLineCommands();
2223

2324
public ResponsiveUIChunkValidatorBase(UISnapshot snapshot, List<WebElement> webElements) {
2425
super(snapshot);
@@ -176,6 +177,7 @@ public ResponsiveUIChunkValidatorBase haveDifferentHeights() {
176177
@Override
177178
public ResponsiveUIChunkValidatorBase areRightAligned() {
178179
validateRightAlignedWithChunk(asNumberedList(rootElements));
180+
//offsetLineCommands.drawRightOffsetLine();
179181
return this;
180182
}
181183

@@ -187,6 +189,7 @@ public ResponsiveUIChunkValidatorBase areRightAligned() {
187189
@Override
188190
public ResponsiveUIChunkValidatorBase areLeftAligned() {
189191
validateLeftAlignedWithChunk(asNumberedList(rootElements));
192+
//offsetLineCommands.drawLeftOffsetLine();
190193
return this;
191194
}
192195

@@ -198,6 +201,7 @@ public ResponsiveUIChunkValidatorBase areLeftAligned() {
198201
@Override
199202
public ResponsiveUIChunkValidatorBase areTopAligned() {
200203
validateTopAlignedWithChunk(asNumberedList(rootElements));
204+
//offsetLineCommands.drawTopOffsetLine();
201205
return this;
202206
}
203207

@@ -209,6 +213,7 @@ public ResponsiveUIChunkValidatorBase areTopAligned() {
209213
@Override
210214
public ResponsiveUIChunkValidatorBase areBottomAligned() {
211215
validateBottomAlignedWithChunk(asNumberedList(rootElements));
216+
//offsetLineCommands.drawBottomOffsetLine();
212217
return this;
213218
}
214219

0 commit comments

Comments
 (0)