diff --git a/src/components/image/ImageWithFallback.tsx b/src/components/image/ImageWithFallback.tsx index 07279f87..c2dd4801 100644 --- a/src/components/image/ImageWithFallback.tsx +++ b/src/components/image/ImageWithFallback.tsx @@ -69,18 +69,11 @@ export default function ImageWithFallback(props: ImageProps & { toolbar: { zoomIn: 1, zoomOut: 1, - oneToOne: 1, reset: 1, - prev: 0, play: { show: 0, size: 'large', }, - next: 0, - rotateLeft: 1, - rotateRight: 1, - flipHorizontal: 1, - flipVertical: 1, tooltip: 1, }, }); @@ -105,50 +98,55 @@ export default function ImageWithFallback(props: ImageProps & { }; return ( -
- {(showFallback || shouldDebugImageFallbacks) && -
- {(BLUR_ENABLED && blurDataURL) - ? - :
} -
} - + +
- {enableImageActions && } -
+ ref={containerRef} + > + {(showFallback || shouldDebugImageFallbacks) && +
+ {(BLUR_ENABLED && blurDataURL) + ? + :
} +
} + + {enableImageActions && } +
+ ); }