[Client] UIの動きを減らすオプションが一部のアニメーションに適用されなかったのを修正

Resolve #3632
This commit is contained in:
syuilo 2018-12-17 17:21:36 +09:00
parent 4f071a66b6
commit 7e2b70f912
No known key found for this signature in database
GPG key ID: BDC4C49D06AB9D69
2 changed files with 4 additions and 0 deletions

View file

@ -2,6 +2,8 @@ import Particle from '../components/particle.vue';
export default {
bind(el, binding, vn) {
if (vn.context.$store.state.device.reduceMotion) return;
el.addEventListener('click', () => {
const rect = el.getBoundingClientRect();