respect QskPopup::hasFaderEffect
This commit is contained in:
parent
e56360480f
commit
4cbd0d62a5
|
@ -469,6 +469,9 @@ void QskDrawer::itemChange( QQuickItem::ItemChange change,
|
||||||
|
|
||||||
void QskDrawer::setFading( bool on )
|
void QskDrawer::setFading( bool on )
|
||||||
{
|
{
|
||||||
|
if ( !hasFaderEffect() )
|
||||||
|
return;
|
||||||
|
|
||||||
const qreal from = on ? 0.0 : 1.0;
|
const qreal from = on ? 0.0 : 1.0;
|
||||||
const qreal to = on ? 1.0 : 0.0;
|
const qreal to = on ? 1.0 : 0.0;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue