From b3e8f6e39fa5381b298e0242540787abc0a9df01 Mon Sep 17 00:00:00 2001 From: DreamMaoMao <2523610504@qq.com> Date: Mon, 30 Jun 2025 11:45:54 +0800 Subject: [PATCH] opt: layer animation default to disable --- config.conf | 1 + src/config/preset.h | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/config.conf b/config.conf index b2544d4..12d36a9 100644 --- a/config.conf +++ b/config.conf @@ -26,6 +26,7 @@ unfocused_opacity=1.0 # Animation Configuration(support type:zoom,slide) # tag_animation_direction: 0-horizontal,1-vertical animations=1 +layer_animations=0 animation_type_open=slide animation_type_close=slide animation_fade_in=1 diff --git a/src/config/preset.h b/src/config/preset.h index cdc1a15..8587064 100644 --- a/src/config/preset.h +++ b/src/config/preset.h @@ -11,7 +11,7 @@ char *animation_type_open = "slide"; // 是否启用动画 //slide,zoom char *animation_type_close = "slide"; // 是否启用动画 //slide,zoom int animations = 1; // 是否启用动画 -int layer_animations = 1; // 是否启用layer动画 +int layer_animations = 0; // 是否启用layer动画 int tag_animation_direction = HORIZONTAL; // 标签动画方向 int animation_fade_in = 1; // Enable animation fade in int animation_fade_out = 1; // Enable animation fade out