ui: context menu tweaks
This commit is contained in:
parent
2f8d2490ba
commit
a280273d22
2 changed files with 6 additions and 4 deletions
|
|
@ -112,7 +112,7 @@ class Toolbar {
|
|||
start.visible = !serverStarted
|
||||
stop.visible = !!serverStarted
|
||||
newWindow.visible = !!serverStarted
|
||||
menu.popup({window: remote.getCurrentWindow(), x: parseInt(PXSCALE), y: parseInt(40 * PXSCALE)})
|
||||
menu.popup({window: remote.getCurrentWindow(), x: parseInt(PXSCALE), y: parseInt(39 * PXSCALE)})
|
||||
})
|
||||
|
||||
menu.on('menu-will-close', ()=>{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue