Perform animation only when reaction is added (#5359)
This commit is contained in:
		| @@ -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: { | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Aya Morisawa
					Aya Morisawa