diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/plugins/openInApp.ts | 2 | ||||
-rw-r--r-- | src/plugins/vencordToolbox/index.css | 5 |
2 files changed, 6 insertions, 1 deletions
diff --git a/src/plugins/openInApp.ts b/src/plugins/openInApp.ts index 83cd828..2db0b8d 100644 --- a/src/plugins/openInApp.ts +++ b/src/plugins/openInApp.ts @@ -71,7 +71,7 @@ export default definePlugin({ { find: ".CONNECTED_ACCOUNT_VIEWED,", 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);" } } diff --git a/src/plugins/vencordToolbox/index.css b/src/plugins/vencordToolbox/index.css index 422e36d..8b50986 100644 --- a/src/plugins/vencordToolbox/index.css +++ b/src/plugins/vencordToolbox/index.css @@ -1,3 +1,8 @@ +.vc-toolbox-btn, +.vc-toolbox-btn svg { + -webkit-app-region: no-drag; +} + .vc-toolbox-btn svg { color: var(--interactive-normal); } |