diff options
author | Brian Kim <brian@tagg.id> | 2021-06-19 03:31:22 +0900 |
---|---|---|
committer | Brian Kim <brian@tagg.id> | 2021-06-19 03:31:22 +0900 |
commit | 6b86e6f5e0ce7345435183b5aa219ecd4cfd7fdd (patch) | |
tree | ed377882c6b30cc24861605056b8693d892f878a /src/components/comments | |
parent | 8723e8c9e32200d35f4027d2a16b6c89734c36b9 (diff) |
Fix naming bug
Diffstat (limited to 'src/components/comments')
-rw-r--r-- | src/components/comments/ZoomInCropper.tsx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/components/comments/ZoomInCropper.tsx b/src/components/comments/ZoomInCropper.tsx index 097b1783..0f8e9231 100644 --- a/src/components/comments/ZoomInCropper.tsx +++ b/src/components/comments/ZoomInCropper.tsx @@ -114,10 +114,10 @@ export const ZoomInCropper: React.FC<ZoomInCropperProps> = ({ if (tempy1 < 0) { tempy1 = 0; } - setX0(x0); - setX1(x1); - setY0(y0); - setY1(y1); + setX0(tempx0); + setX1(tempx1); + setY0(tempy0); + setY1(tempy1); }, (err) => console.log(err), ); |