changed highlighted message color

This commit is contained in:
fourtf 2018-06-19 20:48:57 +02:00
parent bc54927c84
commit e28bc805f6
2 changed files with 8 additions and 3 deletions

View file

@ -185,8 +185,14 @@ void ThemeManager::actuallyUpdate(double hue, double multiplier)
this->messages.backgrounds.regular = splits.background;
this->messages.backgrounds.alternate = getColor(0, sat, 0.93);
if (isLight) {
this->messages.backgrounds.highlighted =
blendColors(themeColor, this->messages.backgrounds.regular, isLight ? 0.8 : 0.6);
blendColors(themeColor, this->messages.backgrounds.regular, 0.8);
} else {
this->messages.backgrounds.highlighted = QColor(75, 40, 44);
}
this->messages.backgrounds.subscription =
blendColors(QColor("#C466FF"), this->messages.backgrounds.regular, 0.7);

View file

@ -190,7 +190,6 @@ void ChannelView::actuallyLayoutMessages(bool causedByScrollbar)
this->showingLatestMessages_ = this->scrollBar_.isAtBottom() || !this->scrollBar_.isVisible();
size_t start = size_t(this->scrollBar_.getCurrentValue());
qDebug() << this->scrollBar_.getCurrentValue();
int layoutWidth = this->getLayoutWidth();
MessageElement::Flags flags = this->getFlags();