refactor(src/shared): adjust default bezier curve for smoother scrolling
Use more balanced control points to improve animation responsiveness and visual flow
This commit is contained in:
1 file changed
+1
-1
@@ -6,7 +6,7 @@ from shared.widgets.animator import Animator
|
|||||||
class AnimatedScrollable(ScrolledWindow):
|
class AnimatedScrollable(ScrolledWindow):
|
||||||
def __init__(
|
def __init__(
|
||||||
self,
|
self,
|
||||||
bezier_curve: tuple[float, float, float, float] = (0.2, 1, 0.8, 1.0),
|
bezier_curve: tuple[float, float, float, float] = (0.25, 0.1, 0.25, 1.0),
|
||||||
duration: float = 0.3,
|
duration: float = 0.3,
|
||||||
**kwargs,
|
**kwargs,
|
||||||
):
|
):
|
||||||
|
|||||||
Reference in new issue
Block a user