From 647d5a4ffc08ee654eb3ce951977789b1385a7f8 Mon Sep 17 00:00:00 2001 From: MightyPlaza <123664421+MightyPlaza@users.noreply.github.com> Date: Thu, 28 Mar 2024 14:14:27 +0000 Subject: layers: fix bottom slide animation (#5307) modified: src/helpers/WLClasses.cpp --- src/helpers/WLClasses.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/helpers/WLClasses.cpp b/src/helpers/WLClasses.cpp index 96ba0fa5..edcdfb14 100644 --- a/src/helpers/WLClasses.cpp +++ b/src/helpers/WLClasses.cpp @@ -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 -- cgit v1.2.3