changed scrollbar bg

This commit is contained in:
fourtf 2018-06-05 00:14:20 +02:00
parent 4b52a98778
commit 10b0466052
3 changed files with 6 additions and 4 deletions

View file

@ -179,8 +179,7 @@ void MessageLayout::paint(QPainter &painter, int width, int y, int messageIndex,
QBrush brush(color, Qt::VerPattern);
painter.fillRect(0, y + this->container_.getHeight() - 1, this->container_.getWidth(), 1,
brush);
painter.fillRect(0, y + this->container_.getHeight() - 1, pixmap->width(), 1, brush);
}
this->bufferValid_ = true;

View file

@ -183,8 +183,9 @@ void ThemeManager::actuallyUpdate(double hue, double multiplier)
// this->messages.seperatorInner =
// Scrollbar
this->scrollbars.background = splits.background;
this->scrollbars.background.setAlphaF(qreal(0.2));
this->scrollbars.background = QColor(0, 0, 0, 0);
// this->scrollbars.background = splits.background;
// this->scrollbars.background.setAlphaF(qreal(0.2));
this->scrollbars.thumb = getColor(0, sat, 0.80);
this->scrollbars.thumbSelected = getColor(0, sat, 0.7);

View file

@ -108,6 +108,7 @@ AppearancePage::AppearancePage()
auto emotes = layout.emplace<QGroupBox>("Emotes").setLayoutType<QVBoxLayout>();
{
/*
emotes.append(
this->createCheckBox("Enable Twitch emotes", app->settings->enableTwitchEmotes));
emotes.append(this->createCheckBox("Enable BetterTTV emotes for Twitch",
@ -115,6 +116,7 @@ AppearancePage::AppearancePage()
emotes.append(this->createCheckBox("Enable FrankerFaceZ emotes for Twitch",
app->settings->enableFfzEmotes));
emotes.append(this->createCheckBox("Enable emojis", app->settings->enableEmojis));
*/
emotes.append(
this->createCheckBox("Enable animations", app->settings->enableGifAnimations));