Skip to content

Commit

Permalink
remove scroll limit validation
Browse files Browse the repository at this point in the history
  • Loading branch information
paweltomaszewskisaucelabs committed May 21, 2024
1 parent 4e49d28 commit efcce27
Showing 1 changed file with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,7 @@ public Builder withHideScrollBars(Boolean hideScrollBars) {
}

public Builder withScrollLimit(int scrollLimit) {
if (scrollLimit > 0 && scrollLimit <= 10) {
this.scrollLimit = scrollLimit;
} else {
this.scrollLimit = 10;
}

this.scrollLimit = scrollLimit;
return this;
}

Expand Down

0 comments on commit efcce27

Please sign in to comment.