初步完成close动画

This commit is contained in:
DreamMaoMao 2025-02-06 10:23:43 +08:00
parent f8f261562f
commit 00d42f5d4f
2 changed files with 88 additions and 41 deletions

View file

@ -8,6 +8,7 @@
/* animation */
static const bool animations = true; // Enable animations
static const char *animation_type = "slide"; //slide or zoom
static const char animation_fade_in = 0; // Enable animation fade in
static const float zoom_initial_ratio = 0.5; // Initial window ratio for animations
static const uint32_t animation_duration = 300; // Animation speed
// static const double animation_curve[4] = {0.05,0.9,0.1,1.05}; // Animation curve