Skip to content

Commit c6d28ad

Browse files
committed
fix(jsx-elements): add ellipse2D component
1 parent 9aa3234 commit c6d28ad

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

packages/common/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,7 @@ export const CollidingComponents: Record<string, string> = {
137137
// GUI
138138
button2D: 'button',
139139
image2D: 'image',
140+
ellipse2D: 'ellipse',
140141
// CORE
141142
text3D: 'text',
142143
polygon3D: 'polygon',

packages/library/src/_generated/babylon.gui.constructors.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const ConstructorsMap: Record<string, Array<string>> = {
1414
control3D: ["name"],
1515
cylinderPanel: [],
1616
displayGrid: ["name"],
17-
ellipse: ["name"],
17+
ellipse2D: ["name"],
1818
fluentBackplateMaterial: ["name","scene"],
1919
fluentButtonMaterial: ["name","scene"],
2020
fluentMaterial: ["name","scene"],

packages/library/src/_generated/babylon.gui.declarations.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ name: ConstructorParameters<typeof Control3D>[0];
142142
name: ConstructorParameters<typeof DisplayGrid>[0];
143143

144144
} & GuiProps,DisplayGrid>, any>;
145-
ellipse: React.DetailedHTMLProps<BabylonProps<ExcludeReadonlyAndPrivate<Ellipse> & Clonable, {
145+
ellipse2D: React.DetailedHTMLProps<BabylonProps<ExcludeReadonlyAndPrivate<Ellipse> & Clonable, {
146146
name: ConstructorParameters<typeof Ellipse>[0];
147147

148148
} & GuiProps,Ellipse>, any>;

0 commit comments

Comments
 (0)