diff --git a/src/domain/UBGraphicsItemDelegate.cpp b/src/domain/UBGraphicsItemDelegate.cpp index f78ae771..248f8c28 100644 --- a/src/domain/UBGraphicsItemDelegate.cpp +++ b/src/domain/UBGraphicsItemDelegate.cpp @@ -1331,7 +1331,7 @@ void DelegateMediaControl::paint(QPainter *painter, QPainterPath DelegateMediaControl::shape() const { QPainterPath path; - path.addRoundedRect(rect(), rect().height()/ 2, rect().height()/2); + path.addRoundedRect(mSeecArea, mSeecArea.height()/2, mSeecArea.height()/2); return path; }