Skip to content
Snippets Groups Projects
Unverified Commit 7e2b70f9 authored by syuilo's avatar syuilo
Browse files

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

Resolve #3632
parent 4f071a66
No related branches found
No related tags found
No related merge requests found
......@@ -67,6 +67,8 @@ export default Vue.extend({
});
},
anime(reaction: string) {
if (this.$store.state.device.reduceMotion) return;
this.$nextTick(() => {
const rect = this.$refs[reaction].$el.getBoundingClientRect();
......
......@@ -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();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment