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,5 +1,5 @@
<template>
<transition name="popup" appear @after-leave="$emit('closed')">
<transition :name="$store.state.animation ? 'popup' : ''" appear @after-leave="$emit('closed')">
<div v-if="showing" class="fxxzrfni _popup _shadow" :style="{ zIndex, top: top + 'px', left: left + 'px' }" @mouseover="() => { $emit('mouseover'); }" @mouseleave="() => { $emit('mouseleave'); }">
<div v-if="fetched" class="info">
<div class="banner" :style="user.bannerUrl ? `background-image: url(${user.bannerUrl})` : ''"></div>