🔧 chore: 更新 Electron 版本至 36.2.0,优化歌词视图的悬停效果

This commit is contained in:
alger
2025-05-09 19:42:49 +08:00
parent 3c1a144113
commit 44f9709bb3
3 changed files with 5 additions and 3 deletions

View File

@@ -56,7 +56,7 @@
"autoprefixer": "^10.4.20",
"axios": "^1.7.7",
"cross-env": "^7.0.3",
"electron": "^36.1.0",
"electron": "^36.2.0",
"electron-builder": "^25.1.8",
"electron-vite": "^3.1.0",
"eslint": "^9.0.0",

View File

@@ -89,6 +89,8 @@ const createWin = () => {
alwaysOnTop: true,
resizable: true,
roundedCorners: false,
titleBarStyle: 'hidden',
titleBarOverlay: false,
// 添加跨屏幕支持选项
webPreferences: {
preload: join(__dirname, '../preload/index.js'),

View File

@@ -682,7 +682,7 @@ body,
--text-secondary: #ffffffea;
--highlight-color: #1db954;
--control-bg: rgba(124, 124, 124, 0.3);
&:hover {
&:hover:not(.lyric_lock) {
background: rgba(44, 44, 44, 0.466) !important;
}
}
@@ -692,7 +692,7 @@ body,
--text-secondary: #39393989;
--highlight-color: #1db954;
--control-bg: rgba(255, 255, 255, 0.3);
&:hover {
&:hover:not(.lyric_lock) {
background: rgba(0, 0, 0, 0.434) !important;
}
}