mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
Fixing type: printBackgrounds => printBackground
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user