chore: remove extra setTitlebarAppearsTransparent (#27042)
This commit is contained in:
		
					parent
					
						
							
								f99ea7c0ba
							
						
					
				
			
			
				commit
				
					
						cdc94e4cef
					
				
			
		
					 1 changed files with 0 additions and 5 deletions
				
			
		| 
						 | 
				
			
			@ -471,11 +471,6 @@ NativeWindowMac::NativeWindowMac(const gin_helper::Dictionary& options,
 | 
			
		|||
    }
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  // Hide the title bar background
 | 
			
		||||
  if (title_bar_style_ != TitleBarStyle::kNormal) {
 | 
			
		||||
    [window_ setTitlebarAppearsTransparent:YES];
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  // Hide the title bar.
 | 
			
		||||
  if (title_bar_style_ == TitleBarStyle::kHiddenInset) {
 | 
			
		||||
    base::scoped_nsobject<NSToolbar> toolbar(
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue