mirror of
				https://github.com/zadam/trilium.git
				synced 2025-11-04 05:28:59 +01:00 
			
		
		
		
	fix(mica): mica flicker when loading classic theme
This commit is contained in:
		
							parent
							
								
									43101620af
								
							
						
					
					
						commit
						5d07c3049d
					
				@ -132,9 +132,9 @@ function getWindowExtraOpts() {
 | 
				
			|||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    // Window effects (Mica)
 | 
					    // Window effects (Mica)
 | 
				
			||||||
    // TODO: Deduplicate with src/public/app/desktop.js#initTransparencyEffects
 | 
					    if (isWindows) {
 | 
				
			||||||
    const isHorizontalLayout = (optionService.getOption("layoutOrientation") === "horizontal");
 | 
					        extraOpts.backgroundMaterial = "auto";
 | 
				
			||||||
    extraOpts.backgroundMaterial = isHorizontalLayout ? "tabbed" : "mica";
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    return extraOpts;
 | 
					    return extraOpts;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user