mirror of
https://github.com/algerkong/AlgerMusicPlayer.git
synced 2026-04-30 03:47:22 +08:00
🔧 chore: 更新 Electron 版本至 36.2.0,优化歌词视图的悬停效果
This commit is contained in:
+1
-1
@@ -56,7 +56,7 @@
|
|||||||
"autoprefixer": "^10.4.20",
|
"autoprefixer": "^10.4.20",
|
||||||
"axios": "^1.7.7",
|
"axios": "^1.7.7",
|
||||||
"cross-env": "^7.0.3",
|
"cross-env": "^7.0.3",
|
||||||
"electron": "^36.1.0",
|
"electron": "^36.2.0",
|
||||||
"electron-builder": "^25.1.8",
|
"electron-builder": "^25.1.8",
|
||||||
"electron-vite": "^3.1.0",
|
"electron-vite": "^3.1.0",
|
||||||
"eslint": "^9.0.0",
|
"eslint": "^9.0.0",
|
||||||
|
|||||||
@@ -89,6 +89,8 @@ const createWin = () => {
|
|||||||
alwaysOnTop: true,
|
alwaysOnTop: true,
|
||||||
resizable: true,
|
resizable: true,
|
||||||
roundedCorners: false,
|
roundedCorners: false,
|
||||||
|
titleBarStyle: 'hidden',
|
||||||
|
titleBarOverlay: false,
|
||||||
// 添加跨屏幕支持选项
|
// 添加跨屏幕支持选项
|
||||||
webPreferences: {
|
webPreferences: {
|
||||||
preload: join(__dirname, '../preload/index.js'),
|
preload: join(__dirname, '../preload/index.js'),
|
||||||
|
|||||||
@@ -682,7 +682,7 @@ body,
|
|||||||
--text-secondary: #ffffffea;
|
--text-secondary: #ffffffea;
|
||||||
--highlight-color: #1db954;
|
--highlight-color: #1db954;
|
||||||
--control-bg: rgba(124, 124, 124, 0.3);
|
--control-bg: rgba(124, 124, 124, 0.3);
|
||||||
&:hover {
|
&:hover:not(.lyric_lock) {
|
||||||
background: rgba(44, 44, 44, 0.466) !important;
|
background: rgba(44, 44, 44, 0.466) !important;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -692,7 +692,7 @@ body,
|
|||||||
--text-secondary: #39393989;
|
--text-secondary: #39393989;
|
||||||
--highlight-color: #1db954;
|
--highlight-color: #1db954;
|
||||||
--control-bg: rgba(255, 255, 255, 0.3);
|
--control-bg: rgba(255, 255, 255, 0.3);
|
||||||
&:hover {
|
&:hover:not(.lyric_lock) {
|
||||||
background: rgba(0, 0, 0, 0.434) !important;
|
background: rgba(0, 0, 0, 0.434) !important;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user