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; break;
case 1: case 1:
// BOTTOM // BOTTOM
prePos = {geometry.x, PMONITOR->vecPosition.y + PMONITOR->vecPosition.y}; prePos = {geometry.x, PMONITOR->vecPosition.y + PMONITOR->vecSize.y};
break; break;
case 2: case 2:
// LEFT // LEFT