mirror of
				https://codeberg.org/yeentown/barkey.git
				synced 2025-11-03 23:14:13 +00:00 
			
		
		
		
	Perform animation only when reaction is added (#5359)
This commit is contained in:
		
							parent
							
								
									084fd8152b
								
							
						
					
					
						commit
						423f776ed0
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -49,8 +49,8 @@ export default Vue.extend({
 | 
			
		|||
		if (!this.isInitial) this.anime();
 | 
			
		||||
	},
 | 
			
		||||
	watch: {
 | 
			
		||||
		count() {
 | 
			
		||||
			this.anime();
 | 
			
		||||
		count(newCount, oldCount) {
 | 
			
		||||
			if (oldCount < newCount) this.anime();
 | 
			
		||||
		},
 | 
			
		||||
	},
 | 
			
		||||
	methods: {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue