mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-25 05:55:13 +00:00
Serendipity: Don't modify tip frame palette
Fixes illegible tip text
This commit is contained in:
parent
5a14f7ea2f
commit
1de4ed8ca1
Notes:
sideshowbarker
2024-07-18 20:30:17 +09:00
Author: https://github.com/thankyouverycool Commit: https://github.com/SerenityOS/serenity/commit/1de4ed8ca19 Pull-request: https://github.com/SerenityOS/serenity/pull/6255 Issue: https://github.com/SerenityOS/serenity/issues/5996
1 changed files with 0 additions and 3 deletions
|
@ -47,9 +47,6 @@ SerendipityWidget::SerendipityWidget()
|
|||
banner_label.set_icon(Gfx::Bitmap::load_from_file("/res/graphics/welcome-serendipity.png"));
|
||||
|
||||
auto& tip_frame = *find_descendant_of_type_named<GUI::Frame>("tip_frame");
|
||||
auto palette = tip_frame.palette();
|
||||
palette.set_color(Gfx::ColorRole::Base, Color::from_rgb(0xffffe1));
|
||||
tip_frame.set_palette(palette);
|
||||
tip_frame.set_background_role(Gfx::ColorRole::Base);
|
||||
tip_frame.set_fill_with_background_color(true);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue