Skip to content

Commit

Permalink
fix: fp x and y boundaries
Browse files Browse the repository at this point in the history
  • Loading branch information
egor-romanov committed Dec 5, 2023
1 parent 65fa2dd commit 63ed13f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/storage/renderer/image.ts
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,8 @@ export class ImageRenderer extends Renderer {
options.y_offset &&
options.x_offset <= 1 &&
options.y_offset <= 1 &&
options.x_offset >= -1 &&
options.y_offset >= -1
options.x_offset >= 0 &&
options.y_offset >= 0
)
) {
throw new StorageBackendError(
Expand Down

0 comments on commit 63ed13f

Please sign in to comment.