mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 19:47:44 +00:00
Ladybird/AppKit: Update chrome color on theme color change
This commit is contained in:
parent
a5b01689f1
commit
31ff752a10
4 changed files with 41 additions and 0 deletions
|
@ -193,9 +193,13 @@ enum class IsHistoryNavigation {
|
|||
{
|
||||
auto* delegate = (ApplicationDelegate*)[NSApp delegate];
|
||||
|
||||
self.tab.titlebarAppearsTransparent = NO;
|
||||
|
||||
[delegate createNewTab:OptionalNone {}
|
||||
fromTab:[self tab]
|
||||
activateTab:Web::HTML::ActivateTab::Yes];
|
||||
|
||||
self.tab.titlebarAppearsTransparent = YES;
|
||||
}
|
||||
|
||||
- (void)updateNavigationButtonStates
|
||||
|
@ -212,7 +216,9 @@ enum class IsHistoryNavigation {
|
|||
|
||||
- (void)showTabOverview:(id)sender
|
||||
{
|
||||
self.tab.titlebarAppearsTransparent = NO;
|
||||
[self.window toggleTabOverview:sender];
|
||||
self.tab.titlebarAppearsTransparent = YES;
|
||||
}
|
||||
|
||||
- (void)dumpDOMTree:(id)sender
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue