mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
changed highlighted message color
This commit is contained in:
parent
bc54927c84
commit
e28bc805f6
|
@ -185,8 +185,14 @@ void ThemeManager::actuallyUpdate(double hue, double multiplier)
|
||||||
|
|
||||||
this->messages.backgrounds.regular = splits.background;
|
this->messages.backgrounds.regular = splits.background;
|
||||||
this->messages.backgrounds.alternate = getColor(0, sat, 0.93);
|
this->messages.backgrounds.alternate = getColor(0, sat, 0.93);
|
||||||
this->messages.backgrounds.highlighted =
|
|
||||||
blendColors(themeColor, this->messages.backgrounds.regular, isLight ? 0.8 : 0.6);
|
if (isLight) {
|
||||||
|
this->messages.backgrounds.highlighted =
|
||||||
|
blendColors(themeColor, this->messages.backgrounds.regular, 0.8);
|
||||||
|
} else {
|
||||||
|
this->messages.backgrounds.highlighted = QColor(75, 40, 44);
|
||||||
|
}
|
||||||
|
|
||||||
this->messages.backgrounds.subscription =
|
this->messages.backgrounds.subscription =
|
||||||
blendColors(QColor("#C466FF"), this->messages.backgrounds.regular, 0.7);
|
blendColors(QColor("#C466FF"), this->messages.backgrounds.regular, 0.7);
|
||||||
|
|
||||||
|
|
|
@ -190,7 +190,6 @@ void ChannelView::actuallyLayoutMessages(bool causedByScrollbar)
|
||||||
this->showingLatestMessages_ = this->scrollBar_.isAtBottom() || !this->scrollBar_.isVisible();
|
this->showingLatestMessages_ = this->scrollBar_.isAtBottom() || !this->scrollBar_.isVisible();
|
||||||
|
|
||||||
size_t start = size_t(this->scrollBar_.getCurrentValue());
|
size_t start = size_t(this->scrollBar_.getCurrentValue());
|
||||||
qDebug() << this->scrollBar_.getCurrentValue();
|
|
||||||
int layoutWidth = this->getLayoutWidth();
|
int layoutWidth = this->getLayoutWidth();
|
||||||
|
|
||||||
MessageElement::Flags flags = this->getFlags();
|
MessageElement::Flags flags = this->getFlags();
|
||||||
|
|
Loading…
Reference in a new issue