Make inactive menubar to ignore pointer events
This commit is contained in:
		
							parent
							
								
									66080c4056
								
							
						
					
					
						commit
						21de893e99
					
				
					 1 changed files with 5 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -31,4 +31,8 @@ Window controls will be all wrong without it
 | 
			
		|||
}
 | 
			
		||||
 | 
			
		||||
#toolbar-menubar:not([inactive]){ z-index: 2 }
 | 
			
		||||
#toolbar-menubar[inactive] > #menubar-items { opacity: 0; margin-left: var(--uc-window-drag-space-width,0px) }
 | 
			
		||||
#toolbar-menubar[inactive] > #menubar-items {
 | 
			
		||||
	opacity: 0;
 | 
			
		||||
	pointer-events: none;
 | 
			
		||||
	margin-left: var(--uc-window-drag-space-width,0px)
 | 
			
		||||
}
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue