If I instantiate BrowserWindow on Mac OS X Mavericks with height: 384, frame: true, I get a window with height 384px, including title bar. My content is 384px high, so the bottom gets cut:

If I instantiate BrowserWindow with height: 384, frame: false, I get a window with height 406px (notice the empty stripe at the bottom of the image):

It looks like an if statement somewhere is checking for the opposite condition. If frame: true, then the window should be 406px (384px from the content + 22px from the title bar). Otherwise, the window should be 384px (just the content). Currently the opposite happens.
Am I missing something?
If I instantiate
BrowserWindowon Mac OS X Mavericks withheight: 384, frame: true, I get a window with height 384px, including title bar. My content is 384px high, so the bottom gets cut:If I instantiate
BrowserWindowwithheight: 384, frame: false, I get a window with height 406px (notice the empty stripe at the bottom of the image):It looks like an
ifstatement somewhere is checking for the opposite condition. Ifframe: true, then the window should be 406px (384px from the content + 22px from the title bar). Otherwise, the window should be 384px (just the content). Currently the opposite happens.Am I missing something?