check against the proper size
This commit is contained in:
parent
6f8c3dd771
commit
337e92a78f
1 changed files with 1 additions and 1 deletions
|
@ -231,7 +231,7 @@ void SlidingPopupsEffect::paintWindow(EffectWindow* w, int mask, QRegion region,
|
|||
break;
|
||||
case South:
|
||||
default:
|
||||
if (slideLength < geo.width()) {
|
||||
if (slideLength < geo.height()) {
|
||||
data.multiplyOpacity(1 - progress);
|
||||
}
|
||||
data.translate(0.0, qMin(geo.height(), slideLength) * progress);
|
||||
|
|
Loading…
Reference in a new issue