feat: Distinguish between closed and open animation types

This commit is contained in:
DreamMaoMao 2025-03-11 14:12:11 +08:00
parent c2a6914662
commit 20bd9841ae
5 changed files with 44 additions and 26 deletions

View file

@ -5,7 +5,8 @@
((hex >> 8) & 0xFF) / 255.0f, (hex & 0xFF) / 255.0f}
/* animaion */
char *animation_type = "slide"; // 是否启用动画 //slide,zoom
char *animation_type_open = "slide"; // 是否启用动画 //slide,zoom
char *animation_type_close = "slide"; // 是否启用动画 //slide,zoom
int animations = 1; // 是否启用动画
char animation_fade_in = 1; // Enable animation fade in
float zoom_initial_ratio = 0.5; // 动画起始窗口比例