Skip to content

Commit

Permalink
Fix init order.
Browse files Browse the repository at this point in the history
  • Loading branch information
linuscu committed Aug 26, 2024
1 parent 2d5827f commit e9cb522
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/rendering/include/rendering/ui/UIContainer.h
Original file line number Diff line number Diff line change
Expand Up @@ -281,8 +281,11 @@ namespace l::ui {
class UIContainer {
public:
UIContainer(uint32_t flags = 0, UIRenderType renderType = UIRenderType::Rect, UIAlignH alignH = UIAlignH::Left, UIAlignV alignV = UIAlignV::Top, UILayoutH layoutH = UILayoutH::Fixed, UILayoutV layoutV = UILayoutV::Fixed) :
mId(0),
mConfigFlags(flags),
mId(0)
mNotificationFlags(0),
mParent(nullptr),
mCoParent(nullptr)
{
mDisplayArea.mRender.mType = renderType;
mDisplayArea.mMargin = 3.0f;
Expand Down

0 comments on commit e9cb522

Please sign in to comment.