mirror of
https://github.com/Equicord/Equicord.git
synced 2025-02-24 00:59:09 -05:00
Canary Fixes
This commit is contained in:
parent
584cd3d2e6
commit
936ac1ebd8
2 changed files with 19 additions and 5 deletions
|
@ -13,18 +13,32 @@ export default definePlugin({
|
|||
authors: [Devs.AutumnVN],
|
||||
patches: [
|
||||
{
|
||||
find: ".rootWithShadow",
|
||||
find: "DURATION_IN:",
|
||||
replacement: {
|
||||
match: /\?300:100/,
|
||||
replace: "?0:0",
|
||||
match: /300,/,
|
||||
replace: "0,",
|
||||
}
|
||||
},
|
||||
{
|
||||
find: 'backdropFilter:"blur(0px)"',
|
||||
replacement: {
|
||||
match: /\?0:300/,
|
||||
match: /\?0:200/,
|
||||
replace: "?0:0",
|
||||
}
|
||||
},
|
||||
{
|
||||
find: '="ABOVE"',
|
||||
replacement: {
|
||||
match: /:300/,
|
||||
replace: ":0",
|
||||
}
|
||||
},
|
||||
{
|
||||
find: "renderLurkerModeUpsellPopout,position:",
|
||||
replacement: {
|
||||
match: /200:300/g,
|
||||
replace: "0:0",
|
||||
},
|
||||
}
|
||||
]
|
||||
});
|
||||
|
|
|
@ -185,7 +185,7 @@ export default definePlugin({
|
|||
{
|
||||
// Decide if we should render the expanded folder background if we are rendering the Better Folders sidebar
|
||||
predicate: () => settings.store.showFolderIcon !== FolderIconDisplay.Always,
|
||||
match: /(?<=\.isExpanded\),children:\[)/,
|
||||
match: /(?<=\.isExpanded\),.{0,25}children:\[)/,
|
||||
replace: "$self.shouldShowFolderIconAndBackground(!!arguments[0]?.isBetterFolders,arguments[0]?.betterFoldersExpandedIds)&&"
|
||||
},
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue