Merge pull request #2515 from atom/fix-no-print-background
Fix a typing error in option checking: printBackgrounds => printBackground
This commit is contained in:
commit
8cc602ff94
3 changed files with 3 additions and 3 deletions
|
@ -97,7 +97,7 @@ wrapWebContents = (webContents) ->
|
|||
printingSetting.marginsType = options.marginsType
|
||||
if options.printSelectionOnly
|
||||
printingSetting.shouldPrintSelectionOnly = options.printSelectionOnly
|
||||
if options.printBackgrounds
|
||||
if options.printBackground
|
||||
printingSetting.shouldPrintBackgrounds = options.printBackground
|
||||
|
||||
if options.pageSize and PDFPageSize[options.pageSize]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue