Update Master

This commit is contained in:
IlyaShurupov 2024-10-11 17:37:31 +03:00
parent 89d5a6d87c
commit e71b8a5230

View file

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