Skip to content

7TV paints when mentioned#413

Open
BennyyyBB wants to merge 2 commits intoSevenTV:chatterino7from
BennyyyBB:chatterino-paints-mention
Open

7TV paints when mentioned#413
BennyyyBB wants to merge 2 commits intoSevenTV:chatterino7from
BennyyyBB:chatterino-paints-mention

Conversation

@BennyyyBB
Copy link
Copy Markdown

@BennyyyBB BennyyyBB commented Apr 14, 2026

Description of proposed Changes

This is a possible adjustment for issue #404 that hopefully adds an option to disable 7TV paints when a user is mentioned in chat.

Furthermore, I tried to implement a feature with the new option, "Enable paints on @usernames," by creating an additional checkbox in the settings that hopefully allows separate control over the display of 7TV paints for mentions (see commit f215ab4). I tried to achieved this by implementing a check in the rendering logic of the MessageLayoutElement.cpp file that distinguishes between the actual sender of a message and a mere mention within the text. If that new option is disabled or the general coloring of mentions is turned off, the system should specifically suppress the drawing of paints for these mentions. This ensures that the paints respect existing user settings and that mentions are displayed simply and without color effects when necessary.

Types of Changes

  • New feature (non-breaking change which adds functionality)

Checklist

  • I have read the CONTRIBUTING doc
  • I have added necessary documentation (if appropriate)
  • Any dependent changes have been merged

more Notes

Since this is only a draft/prototype to implement this new feature, there might be some more adjustments to be added. I'm happy to work on it if you have improvements or more suggestions.

@Nerixyz
Copy link
Copy Markdown
Collaborator

Nerixyz commented Apr 14, 2026

Thank you for the PR! I'd rather have paints respect the Color @usernames setting than adding a new setting.

@BennyyyBB
Copy link
Copy Markdown
Author

@Nerixyz Yes, that's what I'm thinking as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants