Update comment

This commit is contained in:
Mitchell McCaffrey 2020-10-22 16:11:44 +11:00
parent 1d52edc775
commit c60d495a14

View File

@ -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(() => {