mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 23:37:36 +00:00
DisplaySettings: Fix Clang build failure in ThemePreviewWidget
This commit is contained in:
parent
6ea89c35fe
commit
875093e6a9
1 changed files with 4 additions and 2 deletions
|
@ -32,8 +32,10 @@ void ThemePreviewWidget::paint_preview(GUI::PaintEvent&)
|
|||
auto inactive_window_rect = active_window_rect.translated(-8, -32);
|
||||
auto message_box = active_window_rect.shrunken(100, 60);
|
||||
|
||||
Array<Window, 3> window_group {
|
||||
active_window_rect, inactive_window_rect, message_box
|
||||
Array window_group {
|
||||
Window { active_window_rect },
|
||||
Window { inactive_window_rect },
|
||||
Window { message_box }
|
||||
};
|
||||
center_window_group_within(window_group, frame_inner_rect());
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue