Skip to content

Commit

Permalink
Supply default width/height.
Browse files Browse the repository at this point in the history
  • Loading branch information
tarzzz committed Sep 23, 2019
1 parent 4148b65 commit 9a2d0d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/component/plotly-dash-preview/render.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const cst = require('./constants')
function render (info, opts, sendToMain) {
const result = {}

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

let win = remote.createBrowserWindow(windowOpts)
Expand Down

0 comments on commit 9a2d0d0

Please sign in to comment.