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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
23 changed files with 31 additions and 31 deletions

View file

@ -1,6 +1,6 @@
<template>
<div class="mk-toast">
<transition name="toast" appear @after-leave="emit('closed')">
<transition :name="$store.state.animation ? 'toast' : ''" appear @after-leave="emit('closed')">
<div v-if="showing" class="body _acrylic" :style="{ zIndex }">
<div class="message">
{{ message }}