enhance(client): アニメーションを減らす設定をメニューのアニメーションにも適用するように

Resolve #7826
This commit is contained in:
syuilo 2021-09-23 23:01:32 +09:00
parent 8a558eed36
commit ce4ea5071f
2 changed files with 10 additions and 0 deletions

View file

@ -1,7 +1,10 @@
import { Directive } from 'vue';
import { defaultStore } from '@client/store';
export default {
mounted(el, binding, vn) {
if (!defaultStore.state.animation) return;
el.classList.add('_anime_bounce_standBy');
el.addEventListener('mousedown', () => {