mirror of
https://github.com/Equicord/Equicord.git
synced 2025-02-22 16:19:07 -05:00
Some more canary fixes
This commit is contained in:
parent
7255eaaaff
commit
2efc6a6736
3 changed files with 5 additions and 5 deletions
|
@ -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"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
@ -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("|") + "|$&",
|
||||||
},
|
},
|
||||||
|
|
|
@ -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"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue