Fixing type: printBackgrounds => printBackground
This commit is contained in:
parent
ccbe554ec0
commit
559eb20e7f
1 changed files with 1 additions and 1 deletions
|
@ -97,7 +97,7 @@ wrapWebContents = (webContents) ->
|
|||
if options.printSelectionOnly
|
||||
printingSetting.shouldPrintSelectionOnly = options.printSelectionOnly
|
||||
if options.printBackgrounds
|
||||
printingSetting.shouldPrintBackgrounds = options.printBackgrounds
|
||||
printingSetting.shouldPrintBackgrounds = options.printBackground
|
||||
|
||||
webContents._printToPDF printingSetting, callback
|
||||
|
||||
|
|
Loading…
Reference in a new issue