mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 23:17:45 +00:00
ThemeEditor: Fix Clang build failure in PreviewWidget
This commit is contained in:
parent
cf5b6c5c8d
commit
360e149c5c
1 changed files with 4 additions and 2 deletions
|
@ -109,8 +109,10 @@ void PreviewWidget::update_preview_window_locations()
|
|||
m_inactive_window_rect = m_active_window_rect.translated(inactive_offset_x, inactive_offset_y);
|
||||
m_highlight_window_rect = Gfx::IntRect(m_active_window_rect.location(), { 160, 70 }).translated(hightlight_offset_x, hightlight_offset_y);
|
||||
|
||||
Array<Window, 3> window_group {
|
||||
m_active_window_rect, m_inactive_window_rect, m_highlight_window_rect
|
||||
auto window_group = Array {
|
||||
Window { m_active_window_rect },
|
||||
Window { m_inactive_window_rect },
|
||||
Window { m_highlight_window_rect },
|
||||
};
|
||||
|
||||
center_window_group_within(window_group, frame_inner_rect());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue