Commit 91ec8a3b72cb5bceec21ae9dbebdc340060b92dd
Fix menu popup regression
Christian Bundy committed on 5/3/2018, 2:54:29 PMParent: 65ce43c530961dac5a312bda0a2f882c2b075ac7
Files changed
main-window.js | changed |
main-window.js | ||
---|---|---|
@@ -202,12 +202,12 @@ | ||
202 | 202 | } |
203 | 203 | } |
204 | 204 | } |
205 | 205 | })) |
206 | - menu.popup(electron.remote.getCurrentWindow(), { | |
206 | + menu.popup({ | |
207 | + window: electron.remote.getCurrentWindow(), | |
207 | 208 | x: Math.round(rects.left * factor), |
208 | 209 | y: Math.round(rects.bottom * factor) + 4, |
209 | - async: true | |
210 | 210 | }) |
211 | 211 | }) |
212 | 212 | } |
213 | 213 | }, title) |
Built with git-ssb-web