respect QskPopup::hasFaderEffect

This commit is contained in:
Uwe Rathmann 2023-10-18 15:10:55 +02:00
parent e56360480f
commit 4cbd0d62a5

View File

@ -469,6 +469,9 @@ void QskDrawer::itemChange( QQuickItem::ItemChange change,
void QskDrawer::setFading( bool on )
{
if ( !hasFaderEffect() )
return;
const qreal from = on ? 0.0 : 1.0;
const qreal to = on ? 1.0 : 0.0;