Skip to content

Commit

Permalink
Fix test case
Browse files Browse the repository at this point in the history
  • Loading branch information
RetGal committed May 13, 2024
1 parent cdf5ba0 commit 987accc
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@ public int getHeight() {

FrameConfiguration(Position position, Dimension dimension) {
this.position = position;
this.dimension = dimension;
// should actually only be null during tests
this.dimension = dimension == null ? new Dimension(ASSISTED.getMinWidth(), ASSISTED.getMinHeight()) : dimension;
}

public boolean equals(Object o) {
Expand Down

0 comments on commit 987accc

Please sign in to comment.