mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 06:57:44 +00:00
Ladybird/AppKit: Remove theme color changing background color
This commit is contained in:
parent
2107ab823d
commit
980e32b4fe
3 changed files with 1 additions and 26 deletions
|
@ -668,11 +668,7 @@ static void copy_data_to_clipboard(StringView data, NSPasteboardType pasteboard_
|
|||
};
|
||||
|
||||
m_web_view_bridge->on_theme_color_change = [self](auto color) {
|
||||
self.backgroundColor = [NSColor colorWithRed:(color.red() / 255.0)
|
||||
green:(color.green() / 255.0)
|
||||
blue:(color.blue() / 255.0)
|
||||
alpha:1.0];
|
||||
[self.observer onThemeColorChange:color];
|
||||
self.backgroundColor = Ladybird::gfx_color_to_ns_color(color);
|
||||
};
|
||||
|
||||
m_web_view_bridge->on_insert_clipboard_entry = [](auto const& data, auto const&, auto const& mime_type) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue