disable animations on more transitions (#8112)

This commit is contained in:
Johann150
2022-01-25 15:18:21 +01:00
committed by GitHub
parent 3f610edc2a
commit e51f59e1b7
23 changed files with 31 additions and 31 deletions

View File

@@ -1,6 +1,6 @@
<template>
<div class="fgmtyycl" :style="{ zIndex, top: top + 'px', left: left + 'px' }">
<transition name="zoom" @after-leave="$emit('closed')">
<transition :name="$store.state.animation ? 'zoom' : ''" @after-leave="$emit('closed')">
<MkUrlPreview v-if="showing" class="_popup _shadow" :url="url"/>
</transition>
</div>