From e71b8a5230247734e929af9cce0c822fec5cd375 Mon Sep 17 00:00:00 2001 From: IlyaShurupov Date: Fri, 11 Oct 2024 17:37:31 +0300 Subject: [PATCH] Update Master --- Widgets/private/CollapsableMenu.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Widgets/private/CollapsableMenu.cpp b/Widgets/private/CollapsableMenu.cpp index 75e2aa2..ad0265d 100644 --- a/Widgets/private/CollapsableMenu.cpp +++ b/Widgets/private/CollapsableMenu.cpp @@ -69,8 +69,8 @@ RectF CollapsableMenu::getHeaderRect() { } RectF CollapsableMenu::getBodyRect() { - RectF out = { { this->mArea.pos.x, this->mArea.pos.y + headerHeight }, - { this->mArea.size.x, this->mArea.size.y - headerHeight - mPadding } }; + RectF out = { Vec2F{ this->mArea.pos.x, this->mArea.pos.y + headerHeight }, + Vec2F{ this->mArea.size.x, this->mArea.size.y - headerHeight - mPadding } }; out.size.y -= mBorderSize * 2;