Skip to content

Conversation

@zanderz
Copy link
Contributor

@zanderz zanderz commented Apr 6, 2018

and fix the console startup error on Windows while I'm at it.

Electron seems to have stopped registering a different work area than the desktop area, which is how our previous hack detected start menu position.

@zanderz zanderz requested a review from a team April 6, 2018 02:19
} else if (cursorPoint.x > screenSize.x) {
// start menu on right
mb.setOption('windowPosition', 'bottomRight')
let menuBounds = mb.window.getBounds()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lets be extra careful here and check mb.window and mb.tray (since the old code only ever called setOption)

@zanderz zanderz merged commit 4cf2443 into master Apr 6, 2018
@zanderz zanderz deleted the zanderz/DESKTOP-4129/widget_placement_windows branch April 6, 2018 17:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants