[PR #748] [MERGED] 🐛fix(lyric):修复 macOS 切换桌面歌词时的渲染残留问题 #613

Closed
opened 2026-02-27 07:12:30 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/imsyy/SPlayer/pull/748
Author: @Pissofdvpe
Created: 1/15/2026
Status: Merged
Merged: 1/16/2026
Merged by: @imsyy

Base: devHead: dev


📝 Commits (1)

  • 5c0b52d 🐛fix(lyric):修复 macOS 切换桌面歌词时的渲染残留问题

📊 Changes

1 file changed (+1 additions, -0 deletions)

View changed files

📝 electron/main/windows/lyric-window.ts (+1 -0)

📄 Description

  • 通过在窗口创建时设置 'hasShadow: false' 禁用了 macOS 透明窗口的阴影,从而解决了桌面歌词播放过程中随着播放切换歌词时因系统默认淡出动画导致的上句歌词的渲染残留问题。
  • 此修改仅针对 macOS 平台,确保了 Windows 和 Linux 平台的原有功能和视觉效果不受任何影响。
  • 保留了桌面歌词的透明和锁定穿透核心功能。

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/imsyy/SPlayer/pull/748 **Author:** [@Pissofdvpe](https://github.com/Pissofdvpe) **Created:** 1/15/2026 **Status:** ✅ Merged **Merged:** 1/16/2026 **Merged by:** [@imsyy](https://github.com/imsyy) **Base:** `dev` ← **Head:** `dev` --- ### 📝 Commits (1) - [`5c0b52d`](https://github.com/imsyy/SPlayer/commit/5c0b52d2dfdf34b9c7389786762291daf8a1001d) 🐛fix(lyric):修复 macOS 切换桌面歌词时的渲染残留问题 ### 📊 Changes **1 file changed** (+1 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `electron/main/windows/lyric-window.ts` (+1 -0) </details> ### 📄 Description - 通过在窗口创建时设置 'hasShadow: false' 禁用了 macOS 透明窗口的阴影,从而解决了桌面歌词播放过程中随着播放切换歌词时因系统默认淡出动画导致的上句歌词的渲染残留问题。 - 此修改仅针对 macOS 平台,确保了 Windows 和 Linux 平台的原有功能和视觉效果不受任何影响。 - 保留了桌面歌词的透明和锁定穿透核心功能。 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 07:12:30 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/SPlayer#613
No description provided.