From 2e3c2bcc70965ca5d90fe722235691d68eb158b3 Mon Sep 17 00:00:00 2001 From: John Lombardo Date: Sun, 27 Nov 2016 09:47:38 +0800 Subject: [PATCH] Ensure menubar can be initialized with both new and extended options --- menubar/menubar-tests.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/menubar/menubar-tests.ts b/menubar/menubar-tests.ts index b4b76d2f87..7fd1a9dbe4 100644 --- a/menubar/menubar-tests.ts +++ b/menubar/menubar-tests.ts @@ -12,6 +12,8 @@ var mb2 = menubar({ icon: '/path/to/icon.png', width: 400, height: 800, + preloadWindow: true, + transparent: true, }); mb2.on('ready', () => mb2.showWindow());