mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-18 20:04:00 +02:00
Shrink knob rounding radius to 2px on Mac too.
This commit is contained in:
@@ -279,7 +279,7 @@ SlideSwitchButton::createKnob()
|
|||||||
p.setPen( QColor( 152, 152, 152 ) );
|
p.setPen( QColor( 152, 152, 152 ) );
|
||||||
|
|
||||||
#ifdef Q_OS_MAC
|
#ifdef Q_OS_MAC
|
||||||
p.drawRoundedRect( m_knob.rect(), 3, 3 );
|
p.drawRoundedRect( m_knob.rect(), 2, 2 );
|
||||||
#else
|
#else
|
||||||
p.drawRoundedRect( m_knob.rect().adjusted( 1, 1, -1, -1 ), 2, 2 );
|
p.drawRoundedRect( m_knob.rect().adjusted( 1, 1, -1, -1 ), 2, 2 );
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user