Skip to content

Commit eebb055

Browse files
refactor(ui): update default frame size
1 parent af16f04 commit eebb055

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/client/ui/components/primitive/frame.tsx

+2-1
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,10 @@ const Frame = forwardRef(
3939
{...Native}
4040
AnchorPoint={AnchorPoint ?? new Vector2(0.5, 0.5)}
4141
Position={Position ?? new UDim2(0.5, 0, 0.5, 0)}
42+
Size={Native?.Size ?? new UDim2(1, 0, 1, 0)}
4243
>
43-
{children}
4444
{CornerRadius ? <uicorner CornerRadius={CornerRadius} /> : undefined}
45+
{children}
4546
</frame>
4647
);
4748
},

0 commit comments

Comments
 (0)