Update comment
This commit is contained in:
parent
1d52edc775
commit
c60d495a14
@ -24,7 +24,7 @@ function useImageCenter(
|
||||
imageHeight = data ? stageWidth * (data.height / data.width) : stageHeight;
|
||||
}
|
||||
|
||||
// Reset data translate and scale
|
||||
// Reset image translate and stage scale
|
||||
const previousDataIdRef = useRef();
|
||||
const previousStageRatioRef = useRef(stageRatio);
|
||||
useEffect(() => {
|
||||
|
Loading…
Reference in New Issue
Block a user