Skip to content

Commit 44f9709

Browse files
committed
🔧 chore: 更新 Electron 版本至 36.2.0,优化歌词视图的悬停效果
1 parent 3c1a144 commit 44f9709

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
"autoprefixer": "^10.4.20",
5757
"axios": "^1.7.7",
5858
"cross-env": "^7.0.3",
59-
"electron": "^36.1.0",
59+
"electron": "^36.2.0",
6060
"electron-builder": "^25.1.8",
6161
"electron-vite": "^3.1.0",
6262
"eslint": "^9.0.0",

src/main/lyric.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,8 @@ const createWin = () => {
8989
alwaysOnTop: true,
9090
resizable: true,
9191
roundedCorners: false,
92+
titleBarStyle: 'hidden',
93+
titleBarOverlay: false,
9294
// 添加跨屏幕支持选项
9395
webPreferences: {
9496
preload: join(__dirname, '../preload/index.js'),

src/renderer/views/lyric/index.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -682,7 +682,7 @@ body,
682682
--text-secondary: #ffffffea;
683683
--highlight-color: #1db954;
684684
--control-bg: rgba(124, 124, 124, 0.3);
685-
&:hover {
685+
&:hover:not(.lyric_lock) {
686686
background: rgba(44, 44, 44, 0.466) !important;
687687
}
688688
}
@@ -692,7 +692,7 @@ body,
692692
--text-secondary: #39393989;
693693
--highlight-color: #1db954;
694694
--control-bg: rgba(255, 255, 255, 0.3);
695-
&:hover {
695+
&:hover:not(.lyric_lock) {
696696
background: rgba(0, 0, 0, 0.434) !important;
697697
}
698698
}

0 commit comments

Comments
 (0)