mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-03-25 02:09:48 +01:00
* Make hover-glow subtler.
This commit is contained in:
parent
bcc17ded53
commit
9d4280493e
@ -146,11 +146,11 @@ GridItemDelegate::paint( QPainter* painter, const QStyleOptionViewItem& option,
|
||||
if ( m_hoverFaders.contains( index ) )
|
||||
{
|
||||
const qreal pct = ( m_hoverFaders[ index ]->currentFrame() / 100.0 );
|
||||
opacity = 0.35 - pct * 0.35;
|
||||
opacity = 0.15 - pct * 0.15;
|
||||
}
|
||||
else if ( m_hoverIndex == index )
|
||||
{
|
||||
opacity = 0.35;
|
||||
opacity = 0.15;
|
||||
}
|
||||
|
||||
if ( opacity > -1.0 )
|
||||
|
Loading…
x
Reference in New Issue
Block a user