Commit 5c0b52d
committed
🐛fix(lyric):修复 macOS 切换桌面歌词时的渲染残留问题
- 通过在窗口创建时设置 'hasShadow: false' 禁用了 macOS 透明窗口的阴影,从而解决了切换歌词时因系统默认淡出动画导致的渲染残留问题。
- 此修改仅针对 macOS 平台,确保了 Windows 和 Linux 平台的原有功能和视觉效果不受任何影响。
- 保留了桌面歌词的透明和锁定穿透核心功能。1 parent d03b4e7 commit 5c0b52d
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
| 63 | + | |
63 | 64 | | |
64 | 65 | | |
65 | 66 | | |
| |||
0 commit comments