Serendipity: Don't modify tip frame palette

Fixes illegible tip text
This commit is contained in:
thankyouverycool 2021-04-01 14:34:01 -04:00 committed by Andreas Kling
parent 5a14f7ea2f
commit 1de4ed8ca1
Notes: sideshowbarker 2024-07-18 20:30:17 +09:00

View File

@ -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);