mirror of
				https://codeberg.org/yeentown/barkey.git
				synced 2025-11-04 07:24:13 +00:00 
			
		
		
		
	ci(#10336): disable animation on chromatic
This commit is contained in:
		
							parent
							
								
									d57a504cac
								
							
						
					
					
						commit
						ddb1635a46
					
				
					 1 changed files with 5 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -52,8 +52,9 @@ queueMicrotask(() => {
 | 
			
		|||
		import('../src/directives'),
 | 
			
		||||
		import('../src/widgets'),
 | 
			
		||||
		import('../src/scripts/theme'),
 | 
			
		||||
		import('../src/store'),
 | 
			
		||||
		import('../src/os'),
 | 
			
		||||
	]).then(([{ default: components }, { default: directives }, { default: widgets }, { applyTheme }, os]) => {
 | 
			
		||||
	]).then(([{ default: components }, { default: directives }, { default: widgets }, { applyTheme }, { defaultStore }, os]) => {
 | 
			
		||||
		setup((app) => {
 | 
			
		||||
			moduleInitialized = true;
 | 
			
		||||
			if (app[appInitialized]) {
 | 
			
		||||
| 
						 | 
				
			
			@ -65,6 +66,9 @@ queueMicrotask(() => {
 | 
			
		|||
			directives(app);
 | 
			
		||||
			widgets(app);
 | 
			
		||||
			misskeyOS = os;
 | 
			
		||||
			if (isChromatic()) {
 | 
			
		||||
				defaultStore.set('animation', false);
 | 
			
		||||
			}
 | 
			
		||||
		});
 | 
			
		||||
	});
 | 
			
		||||
});
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue