diff --git a/src/components/image/ImageActions.tsx b/src/components/image/ImageZoomControls.tsx similarity index 97% rename from src/components/image/ImageActions.tsx rename to src/components/image/ImageZoomControls.tsx index 32ed935e..da9a3cd5 100644 --- a/src/components/image/ImageActions.tsx +++ b/src/components/image/ImageZoomControls.tsx @@ -4,7 +4,7 @@ import 'viewerjs/dist/viewer.css'; import { clsx } from 'clsx/lite'; import FullscreenButton from '../FullscreenButton'; -export default function ImageActions({ +export default function ImageZoomControls({ children, enableImageActions = false, className, diff --git a/src/photo/PhotoLarge.tsx b/src/photo/PhotoLarge.tsx index b0648b27..eb7ad10e 100644 --- a/src/photo/PhotoLarge.tsx +++ b/src/photo/PhotoLarge.tsx @@ -36,7 +36,7 @@ import { useRef } from 'react'; import useOnVisible from '@/utility/useOnVisible'; import PhotoDate from './PhotoDate'; import { useAppState } from '@/state/AppState'; -import ImageActions from '@/components/image/ImageActions'; +import ImageZoomControls from '@/components/image/ImageZoomControls'; export default function PhotoLarge({ photo, @@ -146,7 +146,7 @@ export default function PhotoLarge({ arePhotosMatted && 'h-[90%]', arePhotosMatted && matteContentWidthForAspectRatio(), )}> - @@ -161,7 +161,7 @@ export default function PhotoLarge({ blurCompatibilityMode={doesPhotoNeedBlurCompatibility(photo)} priority={priority} /> - + } contentSide={