mirror of
https://github.com/th-ch/youtube-music.git
synced 2026-01-11 10:31:47 +00:00
Styled Bars [Titlebar + Scrollbar]
This commit is contained in:
4
index.js
4
index.js
@ -75,7 +75,7 @@ function createMainWindow() {
|
||||
const windowSize = config.get("window-size");
|
||||
const windowMaximized = config.get("window-maximized");
|
||||
const windowPosition = config.get("window-position");
|
||||
|
||||
|
||||
const win = new electron.BrowserWindow({
|
||||
icon: icon,
|
||||
width: windowSize.width,
|
||||
@ -99,7 +99,7 @@ function createMainWindow() {
|
||||
}
|
||||
: undefined),
|
||||
},
|
||||
frame: !is.macOS(),
|
||||
frame: !is.macOS() && !config.plugins.isEnabled("styled-bars"),
|
||||
titleBarStyle: is.macOS() ? "hiddenInset" : "default",
|
||||
autoHideMenuBar: config.get("options.hideMenu"),
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user