Skip to content

Commit

Permalink
createBrowserWindowOpts -> windowOpts
Browse files Browse the repository at this point in the history
(because it is a handful)
  • Loading branch information
tarzzz committed Sep 23, 2019
1 parent 1d56807 commit 4148b65
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/component/plotly-dash-preview/render.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ const cst = require('./constants')
function render (info, opts, sendToMain) {
const result = {}

let createBrowserWindowOpts = info.browserSize ? info.browserSize : {}
createBrowserWindowOpts['show'] = opts.debug
let windowOpts = info.browserSize ? info.browserSize : {}
windowOpts['show'] = opts.debug

let win = remote.createBrowserWindow(createBrowserWindowOpts)
let win = remote.createBrowserWindow(windowOpts)
const contents = win.webContents
const session = contents.session

Expand Down

0 comments on commit 4148b65

Please sign in to comment.