mirror of
https://github.com/rhysd/Mstdn.git
synced 2025-02-02 06:52:13 +01:00
do not use content size (fix #10)
This commit is contained in:
parent
1e7df65f57
commit
49c45619a5
@ -137,7 +137,6 @@ function startNormalWindow(account: Account, config: Config): Promise<Window> {
|
|||||||
y: state.y,
|
y: state.y,
|
||||||
icon: APP_ICON,
|
icon: APP_ICON,
|
||||||
show: false,
|
show: false,
|
||||||
useContentSize: true,
|
|
||||||
autoHideMenuBar: !!config.hide_menu,
|
autoHideMenuBar: !!config.hide_menu,
|
||||||
webPreferences: {
|
webPreferences: {
|
||||||
nodeIntegration: false,
|
nodeIntegration: false,
|
||||||
@ -186,7 +185,6 @@ function startMenuBar(account: Account, config: Config, bar: Menubar.MenubarApp
|
|||||||
height: state.height,
|
height: state.height,
|
||||||
alwaysOnTop: IS_DEBUG || !!config.always_on_top,
|
alwaysOnTop: IS_DEBUG || !!config.always_on_top,
|
||||||
tooltip: 'Mstdn',
|
tooltip: 'Mstdn',
|
||||||
useContentSize: true,
|
|
||||||
autoHideMenuBar: !!config.hide_menu,
|
autoHideMenuBar: !!config.hide_menu,
|
||||||
show: false,
|
show: false,
|
||||||
showDockIcon: true,
|
showDockIcon: true,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user