move pause-icon to the left and increase size and visibility (#1660)

This commit is contained in:
Daniel Pasch 2020-05-10 12:55:13 +02:00 committed by GitHub
parent be6ef6dcd5
commit c5a7205d12
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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);
}
}