Skip to content

Commit

Permalink
should be addition
Browse files Browse the repository at this point in the history
  • Loading branch information
exoego authored and davesmith00000 committed Jan 31, 2025
1 parent 9f359ed commit 8f78ae7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ final case class BlankEntity(
resizeTo(newSize)

def resizeBy(amount: Size): BlankEntity =
this.copy(size = size * amount)
this.copy(size = size + amount)
def resizeBy(w: Int, h: Int): BlankEntity =
resizeBy(Size(w, h))

Expand Down

0 comments on commit 8f78ae7

Please sign in to comment.