Some more canary fixes

This commit is contained in:
thororen1234 2024-09-26 11:39:34 -04:00
parent 7255eaaaff
commit 2efc6a6736
3 changed files with 5 additions and 5 deletions

View file

@ -79,7 +79,7 @@ export default definePlugin({
{ {
find: ".messagesPopoutWrap", find: ".messagesPopoutWrap",
replacement: { replacement: {
match: /\i&&\((\i).maxHeight.{1,5}\)/, match: /\i&&\((\i).maxHeight.{0,5}\)/,
replace: "$&;$1.maxHeight-=$self.containerHeight" replace: "$&;$1.maxHeight-=$self.containerHeight"
} }
}, },

View file

@ -55,8 +55,8 @@ export default definePlugin({
find: ".defaultRules.text,match:", find: ".defaultRules.text,match:",
group: true, group: true,
replacement: { replacement: {
// $) // $) don't match with a " after the )
match: /\$\)/, match: /\$\)(?!")/,
// hsl(|rgb(|$& // hsl(|rgb(|$&
replace: requiredFirstCharacters.join("|") + "|$&", replace: requiredFirstCharacters.join("|") + "|$&",
}, },

View file

@ -580,8 +580,8 @@ export default definePlugin({
{ {
find: '"MessageStore"', find: '"MessageStore"',
replacement: { replacement: {
match: /getOrCreate\(\i\);\i=\i\.loadComplete.*?}\),/, match: /(getOrCreate\(\i\);)(\i=\i\.loadComplete.*?}\),)/,
replace: "$&$self.messageLoadSuccess(arguments[0]);" replace: "$1$self.messageLoadSuccess(arguments[0]);$2"
} }
}, },
{ {