1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-07-29 18:24:37 +02:00

Update MkImageGallery.item.vue

This commit is contained in:
syuilo
2026-07-10 19:51:31 +09:00
parent fc59574f58
commit 965a7bcc41

View File

@@ -424,12 +424,15 @@ onBeforeUnmount(() => {
watch(thumbnailImageLoaded, () => {
if (props.image.sourceElement != null && props.activated) {
props.image.sourceElement.style.visibility = 'hidden';
enableTransition.value = true;
rootEl.value.offsetHeight; // reflow
transform.value.x = 0;
transform.value.y = 0;
transform.value.scale = 1;
nextTick(() => {
props.image.sourceElement.style.visibility = 'hidden';
});
}
}, { once: true });
@@ -457,7 +460,6 @@ function onCLick() {
.image {
display: block;
-webkit-touch-callout: none;
user-select: none;
position: absolute;
top: v-bind("headerAreaSize + 'px'");