nf-photo-collage
Advanced tools
Comparing version 1.3.7 to 1.3.8
@@ -73,3 +73,3 @@ "use strict"; | ||
const hasBackgroundImage = options.backgroundImage != ""; | ||
const backgroundSource = hasBackgroundImage ? [] : [options.backgroundImage]; | ||
const backgroundSource = hasBackgroundImage ? [options.backgroundImage] : []; | ||
@@ -79,5 +79,2 @@ const sources = backgroundSource.concat(options.sources); | ||
if(hasBackgroundImage) maxImages++; | ||
console.log(maxImages) | ||
console.log(sources) | ||
@@ -91,3 +88,2 @@ return Promise | ||
img.src = photoBuffer; | ||
console.log(i) | ||
// draw background image if present | ||
@@ -94,0 +90,0 @@ if (hasBackgroundImage && i == 0) { |
{ | ||
"name": "nf-photo-collage", | ||
"version": "1.3.7", | ||
"version": "1.3.8", | ||
"publishConfig": { | ||
@@ -5,0 +5,0 @@ "access": "public" |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
10199
146