mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-21 22:24:07 +01:00
improved alternate bg and seperator line
This commit is contained in:
parent
2faf24e3d5
commit
9ced50e94e
3 changed files with 5 additions and 3 deletions
|
@ -188,7 +188,7 @@ void MessageLayout::paint(QPainter &painter, int width, int y, int messageIndex,
|
|||
// draw message seperation line
|
||||
if (getSettings()->separateMessages.getValue())
|
||||
{
|
||||
painter.fillRect(0, y, this->container_->getWidth(), 1,
|
||||
painter.fillRect(0, y, this->container_->getWidth() + 64, 1,
|
||||
app->themes->splits.messageSeperator);
|
||||
}
|
||||
|
||||
|
|
|
@ -215,7 +215,7 @@ void Theme::actuallyUpdate(double hue, double multiplier)
|
|||
this->messages.textColors.system = QColor(140, 127, 127);
|
||||
|
||||
this->messages.backgrounds.regular = splits.background;
|
||||
this->messages.backgrounds.alternate = getColor(0, sat, 0.95);
|
||||
this->messages.backgrounds.alternate = getColor(0, sat, 0.96);
|
||||
|
||||
if (isLight_)
|
||||
{
|
||||
|
|
|
@ -500,7 +500,9 @@ void SplitHeader::paintEvent(QPaintEvent *)
|
|||
|
||||
painter.fillRect(rect(), this->theme->splits.header.background);
|
||||
painter.setPen(this->theme->splits.header.border);
|
||||
painter.drawRect(0, 0, width() - 1, height() - 1);
|
||||
painter.drawRect(0, 0, width() - 1, height() - 2);
|
||||
painter.fillRect(0, height() - 1, width(), 1,
|
||||
this->theme->splits.background);
|
||||
}
|
||||
|
||||
void SplitHeader::mousePressEvent(QMouseEvent *event)
|
||||
|
|
Loading…
Reference in a new issue