1
0
mirror of https://github.com/MisskeyIO/misskey synced 2024-11-27 14:28:49 +09:00

Perform animation only when reaction is added (#5359)

This commit is contained in:
Aya Morisawa 2019-08-29 05:20:27 +09:00 committed by syuilo
parent 084fd8152b
commit 423f776ed0

View File

@ -49,8 +49,8 @@ export default Vue.extend({
if (!this.isInitial) this.anime(); if (!this.isInitial) this.anime();
}, },
watch: { watch: {
count() { count(newCount, oldCount) {
this.anime(); if (oldCount < newCount) this.anime();
}, },
}, },
methods: { methods: {