1
0
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:
Christian Muehlhaeuser 2013-06-12 13:12:44 +02:00
parent bcc17ded53
commit 9d4280493e

View File

@ -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 )