IRCColors Allowing CustomUserColors

This commit is contained in:
thororen1234 2025-04-01 22:53:18 -04:00
parent 078bc546d0
commit 8ec570ebc4
No known key found for this signature in database
11 changed files with 26 additions and 71 deletions

View file

@ -27,12 +27,6 @@ export default definePlugin({
{
find: '"ChannelAttachButton"',
replacement: [
{
// FIXME(Bundler spread transform related): Remove old compatiblity once enough time has passed, if they don't revert
match: /\.attachButtonInner,"aria-label":.{0,50},onDoubleClick:(.+?:void 0),.{0,30}?\.\.\.(\i),/,
replace: "$&onClick:$1,onContextMenu:$2.onClick,",
noWarn: true
},
{
match: /\.attachButtonInner,"aria-label":.{0,50},onDoubleClick:(.+?:void 0),.{0,100}\},(\i)\).{0,100}children:\i/,
replace: "$&,onClick:$1,onContextMenu:$2.onClick,",