Commit Graph

8 Commits

Author SHA1 Message Date
DreamMaoMao
b39ab429f5 feat: Calculate animation curve by time points rather than passed frames 2025-11-04 13:40:23 +08:00
DreamMaoMao
8420d3496a Merge branch 'main' into feat/focus-animation 2025-11-01 19:27:09 +08:00
DreamMaoMao
78f7cb40c7 opt: optimize animaiton frame fresh 2025-11-01 19:24:37 +08:00
Szymon Rączka
8f706688de 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-10-31 22:33:38 +01:00
DreamMaoMao
0622ab463b opt: set all monitor pointer init value to NULL 2025-10-06 14:28:32 +08:00
DreamMaoMao
f712917159 opt: optimize layer animaiton frame count in multi monitor 2025-09-07 17:59:15 +08:00
DreamMaoMao
43dba2151e feat: support client fade int fade out only animaiton 2025-07-11 23:36:54 +08:00
DreamMaoMao
f67a7a1c8b project: optimize project struct 2025-07-06 20:57:38 +08:00