mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-21 22:24:07 +01:00
move pause-icon to the left and increase size and visibility (#1660)
This commit is contained in:
parent
be6ef6dcd5
commit
c5a7205d12
1 changed files with 4 additions and 4 deletions
|
@ -857,10 +857,10 @@ void ChannelView::paintEvent(QPaintEvent * /*event*/)
|
|||
// draw paused sign
|
||||
if (this->paused())
|
||||
{
|
||||
auto a = this->scale() * 16;
|
||||
auto brush = QBrush(QColor(127, 127, 127, 63));
|
||||
painter.fillRect(QRectF(this->width() - a, a / 4, a / 4, a), brush);
|
||||
painter.fillRect(QRectF(this->width() - a / 2, a / 4, a / 4, a), brush);
|
||||
auto a = this->scale() * 20;
|
||||
auto brush = QBrush(QColor(127, 127, 127, 255));
|
||||
painter.fillRect(QRectF(5, a / 4, a / 4, a), brush);
|
||||
painter.fillRect(QRectF(15, a / 4, a / 4, a), brush);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue