From c5a7205d120587f3677afbda917929e4acc8ca0f Mon Sep 17 00:00:00 2001 From: Daniel Pasch Date: Sun, 10 May 2020 12:55:13 +0200 Subject: [PATCH] move pause-icon to the left and increase size and visibility (#1660) --- src/widgets/helper/ChannelView.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/widgets/helper/ChannelView.cpp b/src/widgets/helper/ChannelView.cpp index 8538d3d6..88005672 100644 --- a/src/widgets/helper/ChannelView.cpp +++ b/src/widgets/helper/ChannelView.cpp @@ -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); } }