layers: fix bottom slide animation (#5307)

modified:   src/helpers/WLClasses.cpp
This commit is contained in:
MightyPlaza 2024-03-28 14:14:27 +00:00 committed by GitHub
parent 2571875453
commit 647d5a4ffc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -118,7 +118,7 @@ void SLayerSurface::startAnimation(bool in, bool instant) {
break;
case 1:
// BOTTOM
prePos = {geometry.x, PMONITOR->vecPosition.y + PMONITOR->vecPosition.y};
prePos = {geometry.x, PMONITOR->vecPosition.y + PMONITOR->vecSize.y};
break;
case 2:
// LEFT