Expand GUI element support in get_best_middleware function by adding various UI components and layout classes for enhanced middleware selection.

This commit is contained in:
Joe 2026-01-20 20:23:23 -06:00
parent d1ea2feed7
commit d0f7dffd2e

View file

@ -325,6 +325,31 @@ pub fn get_best_middleware(snapshot: &SyncbackSnapshot) -> Middleware {
"ChatInputBarConfiguration",
"BubbleChatConfiguration",
"ChannelTabsConfiguration",
// GUI elements
"Frame",
"TextLabel",
"ImageLabel",
"TextButton",
"ImageButton",
"TextBox",
"ScrollingFrame",
"ViewportFrame",
"VideoFrame",
"CanvasGroup",
// UI layout/constraint classes
"UIListLayout",
"UIGridLayout",
"UITableLayout",
"UIPageLayout",
"UIFlexItem",
"UIPadding",
"UICorner",
"UIStroke",
"UIGradient",
"UIScale",
"UISizeConstraint",
"UITextSizeConstraint",
"UIAspectRatioConstraint",
]
.into()
});