Self-hosted personal gallery application with online photo management and albums, supporting Live/Motion Photos, EXIF parsing, geolocation recognition, and an explore map.
TypeScript albumsexif-extractiongeocodinglive-photomotion-photophoto-galleryphoto-sharingwebgl-viewer
fix(photoItem): 修复非 LivePhoto 图片鼠标悬停时不显示叠层信息的问题
Timothy Yin6c8103947440
diff --git a/app/components/masonry/PhotoItem.client.vue b/app/components/masonry/PhotoItem.client.vueindex c1bf9769..1d0e2e18 100644--- a/app/components/masonry/PhotoItem.client.vue+++ b/app/components/masonry/PhotoItem.client.vue@@ -89,10 +89,10 @@ const checkImageLoaded = (img: HTMLImageElement) => {// LivePhoto video handlingconst handleMouseEnter = async () => {- if (!props.photo.isLivePhoto || !props.photo.livePhotoVideoUrl) return-isHovering.value = true+ if (!props.photo.isLivePhoto || !props.photo.livePhotoVideoUrl) return+// Only start video processing if we have the blob readyif (videoBlob.value && videoBlobUrl.value) {playLivePhotoVideo()