Skip to content

Commit

Permalink
Fix #5704: Image error on mask click (#5705)
Browse files Browse the repository at this point in the history
  • Loading branch information
melloware authored Jan 8, 2024
1 parent 7878650 commit d597d23
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/lib/image/Image.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,8 @@ export const Image = React.memo(

if (!previewClick.current) {
setPreviewVisibleState(false);
rotate = 0;
scale = 0;
setRotateState(0);
setScaleState(0);
}

previewClick.current = false;
Expand Down

0 comments on commit d597d23

Please sign in to comment.