Commit graph

14 commits

Author SHA1 Message Date
tonybanters
73616f07c4 opt: use config.xxx instead of global presets 2026-03-13 11:41:35 +08:00
DreamMaoMao
2957145b84 opt: ensure auto schedule next frame when animaiton not end 2026-01-04 07:18:18 +08:00
DreamMaoMao
7d019b7032 opt: animations logic all use the int type 2026-01-03 09:48:02 +08:00
DreamMaoMao
6f13b96dc9 fix: switch to mango session fail from other vt 2025-12-30 10:25:26 +08:00
DreamMaoMao
36995cca1f feat: add fadein fadeout curve 2025-12-12 12:14:32 +08:00
DreamMaoMao
9bf87a9610 opt: change unsigned int to uint32_t 2025-12-02 16:58:04 +08:00
DreamMaoMao
9d9a4356e3 feat: Calculate animation curve by time points rather than passed frames 2025-11-04 13:40:34 +08:00
Szymon Rączka
e0f114af59 feat: add smooth focus transition animation for opacity and border
This adds animated transitions when switching focus between windows.
Both window opacity and border color now fade smoothly using cubic
bezier easing instead of changing instantly.

Implementation:
- Added animation_duration_focus config option (default 400ms)
- Added animation_curve_focus for cubic bezier easing curve
- Window opacity and border color animate together when focus changes
- Uses existing animation infrastructure (baked bezier points)

The feature is backwards compatible and can be disabled by setting
animation_duration_focus=0 in config file.

Changes affect 5 files with minimal additions to keep code clean.
2025-11-01 19:29:28 +08:00
DreamMaoMao
cbfd20bff8 opt: optimize animaiton frame fresh 2025-11-01 19:24:45 +08:00
DreamMaoMao
457534bd41 opt: set all monitor pointer init value to NULL 2025-10-06 14:29:12 +08:00
DreamMaoMao
1e1e37e92d opt: optimize layer animaiton frame count in multi monitor 2025-09-07 18:00:19 +08:00
DreamMaoMao
e046053954 feat: support client fade int fade out only animaiton 2025-08-27 09:42:00 +08:00
DreamMaoMao
43081f385e back: no effect 2025-07-09 11:44:04 +08:00
DreamMaoMao
f67a7a1c8b project: optimize project struct 2025-07-06 20:57:38 +08:00