From 083024cbb949a5bb466eb63f9c72f38bf967c78b Mon Sep 17 00:00:00 2001 From: sadan <117494111+sadan4@users.noreply.github.com> Date: Fri, 23 Jan 2026 14:58:47 -0500 Subject: [PATCH] Decor: fix patch --- src/plugins/decor/index.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/plugins/decor/index.tsx b/src/plugins/decor/index.tsx index 319bc14f6..f69494de1 100644 --- a/src/plugins/decor/index.tsx +++ b/src/plugins/decor/index.tsx @@ -47,14 +47,14 @@ export default definePlugin({ }, // Decoration modal module { - find: ".decorationGridItem,", + find: "80,onlyAnimateOnHoverOrFocus:!", replacement: [ { - match: /(?<==)\i=>{var{children.{20,200}decorationGridItem/, + match: /(?<==)\i=>{let{children.{20,200}isSelected:\i=!1\}=\i/, replace: "$self.DecorationGridItem=$&", }, { - match: /(?<==)\i=>{var{user:\i,avatarDecoration/, + match: /(?<==)\i=>{let{user:\i,avatarDecoration/, replace: "$self.DecorationGridDecoration=$&", }, // Remove NEW label from decor avatar decorations @@ -98,7 +98,7 @@ export default definePlugin({ }, ...[ '"Message Username"', // Messages - ".nameplatePreview,{", // Nameplate preview + '?"white":"black",width', // Nameplate preview "#{intl::ayozFl::raw}", // Avatar preview ].map(find => ({ find,