Decor: fix patch
This commit is contained in:
parent
c0d81bfb4a
commit
083024cbb9
1 changed files with 4 additions and 4 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue