Skip to content

Commit

Permalink
Add background colour option to tiles operation (#1923) and fix cover…
Browse files Browse the repository at this point in the history
…age drop
  • Loading branch information
neave committed Oct 25, 2019
1 parent ce5003e commit 40f6575
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/output.js
Original file line number Diff line number Diff line change
Expand Up @@ -605,9 +605,7 @@ function tile (options) {
}
}
// Background colour
if (is.defined(options.background)) {
this._setBackgroundColourOption('tileBackground', options.background);
}
this._setBackgroundColourOption('tileBackground', options.background);
// Depth of tiles
if (is.defined(options.depth)) {
if (is.string(options.depth) && is.inArray(options.depth, ['onepixel', 'onetile', 'one'])) {
Expand Down

0 comments on commit 40f6575

Please sign in to comment.