diff --git a/package.json b/package.json index 0083952..6510372 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/src/main/lyric.ts b/src/main/lyric.ts index 2771ba3..2a42d1e 100644 --- a/src/main/lyric.ts +++ b/src/main/lyric.ts @@ -89,6 +89,8 @@ const createWin = () => { alwaysOnTop: true, resizable: true, roundedCorners: false, + titleBarStyle: 'hidden', + titleBarOverlay: false, // 添加跨屏幕支持选项 webPreferences: { preload: join(__dirname, '../preload/index.js'), diff --git a/src/renderer/views/lyric/index.vue b/src/renderer/views/lyric/index.vue index ebf5753..52705b4 100644 --- a/src/renderer/views/lyric/index.vue +++ b/src/renderer/views/lyric/index.vue @@ -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; } }