aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorvaxerski <[email protected]>2022-04-23 21:54:03 +0200
committervaxerski <[email protected]>2022-04-23 21:54:03 +0200
commit6d8016185abd9b11ad851967eb9e71092d6c0bf2 (patch)
treedab795df0ee251c6912c411b15a5daf0cc7d8cf5
parent3ebe7d79722c1bdc333b236960ff136ab607a02c (diff)
downloadHyprland-6d8016185abd9b11ad851967eb9e71092d6c0bf2.tar.gz
Hyprland-6d8016185abd9b11ad851967eb9e71092d6c0bf2.zip
default curve more close to parabolic
-rw-r--r--src/managers/AnimationManager.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/managers/AnimationManager.cpp b/src/managers/AnimationManager.cpp
index 4d1ab9f8..59f46804 100644
--- a/src/managers/AnimationManager.cpp
+++ b/src/managers/AnimationManager.cpp
@@ -2,7 +2,7 @@
#include "../Compositor.hpp"
CAnimationManager::CAnimationManager() {
- std::vector<Vector2D> points = {Vector2D(0, 0.75f), Vector2D(0.25f, 1.f)};
+ std::vector<Vector2D> points = {Vector2D(0, 0.75f), Vector2D(0.15f, 1.f)};
m_mBezierCurves["default"].setup(&points);
}
@@ -10,7 +10,7 @@ void CAnimationManager::removeAllBeziers() {
m_mBezierCurves.clear();
// add the default one
- std::vector<Vector2D> points = {Vector2D(0, 0.75f), Vector2D(0.25f, 1.f)};
+ std::vector<Vector2D> points = {Vector2D(0, 0.75f), Vector2D(0.15f, 1.f)};
m_mBezierCurves["default"].setup(&points);
}