give us a bit more of a border so faster mouse movements work too, without ruining the whole effect
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=783029
This commit is contained in:
parent
ef5ce1b506
commit
5ea3cb88e1
@ -161,7 +161,7 @@ void DesktopToolbox::hoverEnterEvent(QGraphicsSceneHoverEvent *event)
|
|||||||
}
|
}
|
||||||
|
|
||||||
QPainterPath path;
|
QPainterPath path;
|
||||||
int size = m_size + (int)m_animFrame - 5;
|
int size = m_size + (int)m_animFrame - 15;
|
||||||
path.moveTo(m_size*2, 0);
|
path.moveTo(m_size*2, 0);
|
||||||
path.arcTo(QRectF(m_size * 2 - size, -size, size*2, size*2), 180, 90);
|
path.arcTo(QRectF(m_size * 2 - size, -size, size*2, size*2), 180, 90);
|
||||||
path.lineTo(m_size*2, 0);
|
path.lineTo(m_size*2, 0);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user