fix: allow resize

This commit is contained in:
林一二 2021-06-02 13:24:25 +08:00
parent 55546ea109
commit 70fb66ce7b

View file

@ -141,10 +141,10 @@ export class Window implements IWindowService {
const windowConfig: BrowserWindowConstructorOptions = { const windowConfig: BrowserWindowConstructorOptions = {
...windowDimension[windowName], ...windowDimension[windowName],
...mainWindowConfig, ...mainWindowConfig,
resizable: false, resizable: true,
maximizable: false, maximizable: true,
minimizable: false, minimizable: true,
fullscreenable: false, fullscreenable: true,
autoHideMenuBar: false, autoHideMenuBar: false,
titleBarStyle: titleBar ? 'default' : 'hidden', titleBarStyle: titleBar ? 'default' : 'hidden',
webPreferences: { webPreferences: {