fix vencord toolbox being unusable with drag region (#1480)
* fix(OpenInApp): Broken patch (#1434) * fix: vencord toolbox unreachable with drag region --------- Co-authored-by: whqwert <94757998+whqwert@users.noreply.github.com>
This commit is contained in:
parent
d56e6560e5
commit
b4d0d95731
|
@ -71,7 +71,7 @@ export default definePlugin({
|
||||||
{
|
{
|
||||||
find: ".CONNECTED_ACCOUNT_VIEWED,",
|
find: ".CONNECTED_ACCOUNT_VIEWED,",
|
||||||
replacement: {
|
replacement: {
|
||||||
match: /(?<=href:\i,onClick:function\(\)\{)(?=return \i=(\i)\.type,.{0,50}CONNECTED_ACCOUNT_VIEWED)/,
|
match: /(?<=href:\i,onClick:function\(\i\)\{)(?=\i=(\i)\.type,.{0,50}CONNECTED_ACCOUNT_VIEWED)/,
|
||||||
replace: "$self.handleAccountView(arguments[0],$1.type,$1.id);"
|
replace: "$self.handleAccountView(arguments[0],$1.type,$1.id);"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
.vc-toolbox-btn,
|
||||||
|
.vc-toolbox-btn svg {
|
||||||
|
-webkit-app-region: no-drag;
|
||||||
|
}
|
||||||
|
|
||||||
.vc-toolbox-btn svg {
|
.vc-toolbox-btn svg {
|
||||||
color: var(--interactive-normal);
|
color: var(--interactive-normal);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue