mirror of
https://github.com/Equicord/Equicord.git
synced 2025-02-21 15:48:52 -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",
|
||||
replacement: {
|
||||
match: /\i&&\((\i).maxHeight.{1,5}\)/,
|
||||
match: /\i&&\((\i).maxHeight.{0,5}\)/,
|
||||
replace: "$&;$1.maxHeight-=$self.containerHeight"
|
||||
}
|
||||
},
|
||||
|
|
|
@ -55,8 +55,8 @@ export default definePlugin({
|
|||
find: ".defaultRules.text,match:",
|
||||
group: true,
|
||||
replacement: {
|
||||
// $)
|
||||
match: /\$\)/,
|
||||
// $) don't match with a " after the )
|
||||
match: /\$\)(?!")/,
|
||||
// hsl(|rgb(|$&
|
||||
replace: requiredFirstCharacters.join("|") + "|$&",
|
||||
},
|
||||
|
|
|
@ -580,8 +580,8 @@ export default definePlugin({
|
|||
{
|
||||
find: '"MessageStore"',
|
||||
replacement: {
|
||||
match: /getOrCreate\(\i\);\i=\i\.loadComplete.*?}\),/,
|
||||
replace: "$&$self.messageLoadSuccess(arguments[0]);"
|
||||
match: /(getOrCreate\(\i\);)(\i=\i\.loadComplete.*?}\),)/,
|
||||
replace: "$1$self.messageLoadSuccess(arguments[0]);$2"
|
||||
}
|
||||
},
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue