diff options
author | Vendicated <vendicated@riseup.net> | 2023-04-29 23:26:12 +0200 |
---|---|---|
committer | Vendicated <vendicated@riseup.net> | 2023-04-30 00:09:15 +0200 |
commit | a35b4171943eb1c7212084bb60c1499646e1a430 (patch) | |
tree | 77bbab60d83a725e30a090e2a277574a9e339cf4 /src/plugins | |
parent | 070aa343efdf2b6c006434b5f10660e9f999a667 (diff) | |
download | Vencord-a35b4171943eb1c7212084bb60c1499646e1a430.tar.gz Vencord-a35b4171943eb1c7212084bb60c1499646e1a430.tar.bz2 Vencord-a35b4171943eb1c7212084bb60c1499646e1a430.zip |
BetterRoleDot: Fix copying colour
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/betterRoleDot.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/betterRoleDot.ts b/src/plugins/betterRoleDot.ts index fc13b7b..6e026c7 100644 --- a/src/plugins/betterRoleDot.ts +++ b/src/plugins/betterRoleDot.ts @@ -29,10 +29,10 @@ export default definePlugin({ patches: [ { - find: "M0 4C0 1.79086 1.79086 0 4 0H16C18.2091 0 20 1.79086 20 4V16C20 18.2091 18.2091 20 16 20H4C1.79086 20 0 18.2091 0 16V4Z", + find: ".dotBorderBase", replacement: { - match: /viewBox:"0 0 20 20"/, - replace: "$&,onClick:()=>$self.copyToClipBoard(e.color),style:{cursor:'pointer'}", + match: /,viewBox:"0 0 20 20"/, + replace: "$&,onClick:()=>$self.copyToClipBoard(arguments[0].color),style:{cursor:'pointer'}", }, }, { |