From fc51f97283d3fb75e4c6db1ee17d6301e21d8f94 Mon Sep 17 00:00:00 2001 From: Max Shepard Date: Wed, 3 May 2017 18:30:00 -0400 Subject: [PATCH] Round up float values for hamburger menu positioning. Fixes #1462 (#1753) --- app/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/index.js b/app/index.js index 57bb56ca..88a14d3e 100644 --- a/app/index.js +++ b/app/index.js @@ -278,7 +278,7 @@ app.on('ready', () => installDevExtensions(isDev).then(() => { }); rpc.on('open hamburger menu', ({x, y}) => { - Menu.getApplicationMenu().popup(x, y); + Menu.getApplicationMenu().popup(Math.ceil(x), Math.ceil(y)); }); rpc.on('minimize', () => {