From 40f6575019e40bb0d1d14e7c1c2c40cdb30ebc63 Mon Sep 17 00:00:00 2001 From: Paul Neave Date: Fri, 25 Oct 2019 13:51:15 +0100 Subject: [PATCH] Add background colour option to tiles operation (#1923) and fix coverage drop --- lib/output.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/output.js b/lib/output.js index 50e5ad0f4..0e72d445a 100644 --- a/lib/output.js +++ b/lib/output.js @@ -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'])) {