mirror of
https://github.com/GiriNeko/YesPlayMusic.git
synced 2025-12-16 21:28:06 +00:00
feat(components/Navbar): 自訂和微調各系統的 titlebar (#1343)
* feat: linux custom titlebar * add settings init * Update zh-TW.js * fix: color Co-authored-by: memorydream <34763046+memorydream@users.noreply.github.com>
This commit is contained in:
parent
3e1dc62fa0
commit
3d5d40c476
14 changed files with 324 additions and 105 deletions
|
|
@ -180,7 +180,10 @@ class Background {
|
|||
minWidth: 1080,
|
||||
minHeight: 720,
|
||||
titleBarStyle: 'hiddenInset',
|
||||
frame: !isWindows,
|
||||
frame: !(
|
||||
isWindows ||
|
||||
(isLinux && this.store.get('settings.linuxEnableCustomTitlebar'))
|
||||
),
|
||||
title: 'YesPlayMusic',
|
||||
show: false,
|
||||
webPreferences: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue