mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-21 22:24:07 +01:00
Fix textColor leaking after links
This commit is contained in:
parent
85b9703f9c
commit
f455ef9f24
1 changed files with 2 additions and 1 deletions
|
@ -94,13 +94,14 @@ SharedMessage TwitchMessageBuilder::parse()
|
||||||
auto currentTwitchEmote = twitchEmotes.begin();
|
auto currentTwitchEmote = twitchEmotes.begin();
|
||||||
|
|
||||||
// words
|
// words
|
||||||
QColor textColor = ircMessage->isAction() ? this->usernameColor : this->colorScheme.Text;
|
|
||||||
|
|
||||||
QStringList splits = this->originalMessage.split(' ');
|
QStringList splits = this->originalMessage.split(' ');
|
||||||
|
|
||||||
long int i = 0;
|
long int i = 0;
|
||||||
|
|
||||||
for (QString split : splits) {
|
for (QString split : splits) {
|
||||||
|
QColor textColor = ircMessage->isAction() ? this->usernameColor : this->colorScheme.Text;
|
||||||
|
|
||||||
// twitch emote
|
// twitch emote
|
||||||
if (currentTwitchEmote != twitchEmotes.end() && currentTwitchEmote->first == i) {
|
if (currentTwitchEmote != twitchEmotes.end() && currentTwitchEmote->first == i) {
|
||||||
this->appendWord(
|
this->appendWord(
|
||||||
|
|
Loading…
Reference in a new issue