aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMightyPlaza <[email protected]>2024-03-28 14:14:27 +0000
committerGitHub <[email protected]>2024-03-28 14:14:27 +0000
commit647d5a4ffc08ee654eb3ce951977789b1385a7f8 (patch)
tree863e71e5ca90843a43834b8d21c664c8bba3dd72
parent25718754534d0ccd87b198b63459497e63887f35 (diff)
downloadHyprland-647d5a4ffc08ee654eb3ce951977789b1385a7f8.tar.gz
Hyprland-647d5a4ffc08ee654eb3ce951977789b1385a7f8.zip
layers: fix bottom slide animation (#5307)
modified: src/helpers/WLClasses.cpp
-rw-r--r--src/helpers/WLClasses.cpp2
1 files changed, 1 insertions, 1 deletions
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