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

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