Round up float values for hamburger menu positioning. Fixes #1462 (#1753)

This commit is contained in:
Max Shepard 2017-05-03 18:30:00 -04:00 committed by CHaBou
parent 0797f38f17
commit fc51f97283

View file

@ -278,7 +278,7 @@ app.on('ready', () => installDevExtensions(isDev).then(() => {
}); });
rpc.on('open hamburger menu', ({x, y}) => { rpc.on('open hamburger menu', ({x, y}) => {
Menu.getApplicationMenu().popup(x, y); Menu.getApplicationMenu().popup(Math.ceil(x), Math.ceil(y));
}); });
rpc.on('minimize', () => { rpc.on('minimize', () => {