From d0f7dffd2eabeff66a07dffbcee777d149148599 Mon Sep 17 00:00:00 2001 From: Joe Date: Tue, 20 Jan 2026 20:23:23 -0600 Subject: [PATCH] Expand GUI element support in get_best_middleware function by adding various UI components and layout classes for enhanced middleware selection. --- src/syncback/mod.rs | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/src/syncback/mod.rs b/src/syncback/mod.rs index 2e75292b..597459e3 100644 --- a/src/syncback/mod.rs +++ b/src/syncback/mod.rs @@ -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() });