mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 02:37:36 +00:00
Ladybird: Inform WebContent whether the AppKit chrome is in dark mode
This commit is contained in:
parent
6e64bf5464
commit
3fc0c21b6c
6 changed files with 77 additions and 11 deletions
|
@ -872,6 +872,11 @@ static void copy_text_to_clipboard(StringView text)
|
|||
[self handleResize];
|
||||
}
|
||||
|
||||
- (void)viewDidChangeEffectiveAppearance
|
||||
{
|
||||
m_web_view_bridge->update_palette();
|
||||
}
|
||||
|
||||
- (BOOL)isFlipped
|
||||
{
|
||||
// The origin of a NSScrollView is the lower-left corner, with the y-axis extending upwards. Instead,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue