fix: ShowAllMessageButtons (#1876)
This commit is contained in:
parent
61fac0a8f1
commit
bb900785ed
1 changed files with 2 additions and 3 deletions
|
@ -28,9 +28,8 @@ export default definePlugin({
|
||||||
{
|
{
|
||||||
find: ".Messages.MESSAGE_UTILITIES_A11Y_LABEL",
|
find: ".Messages.MESSAGE_UTILITIES_A11Y_LABEL",
|
||||||
replacement: {
|
replacement: {
|
||||||
// isExpanded: V, (?<=,V = shiftKeyDown && !H...,|;)
|
match: /isExpanded:\i&&.*?,/,
|
||||||
match: /isExpanded:(\i),(?<=,\1=\i&&(?=(!.+?)[,;]).+?)/,
|
replace: "isExpanded:true,"
|
||||||
replace: "isExpanded:$2,"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in a new issue