Skip to content

Commit

Permalink
Add some additional options.
Browse files Browse the repository at this point in the history
  • Loading branch information
tarzzz committed Sep 23, 2019
1 parent 9a2d0d0 commit f294d69
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/component/plotly-dash-preview/render.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ function render (info, opts, sendToMain) {
const result = {}

let windowOpts = info.browserSize ? info.browserSize : { 'width': 800, 'height': 600 }
windowOpts['enableLargerThanScreen'] = true
windowOpts['useContentSize'] = true
windowOpts['show'] = opts.debug

let win = remote.createBrowserWindow(windowOpts)
Expand Down

0 comments on commit f294d69

Please sign in to comment.