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="mk-notification-toast" :style="{ zIndex }">
<transition name="notification-toast" appear @after-leave="$emit('closed')">
<transition :name="$store.state.animation ? 'notification-toast' : ''" appear @after-leave="$emit('closed')">
<XNotification v-if="showing" :notification="notification" class="notification _acrylic"/>
</transition>
</div>