From dc4160fbebef1b3ae91fd114d4b0bd3be403b690 Mon Sep 17 00:00:00 2001 From: codecalm Date: Sun, 22 Mar 2020 17:38:00 +0100 Subject: gulp changelog image generator fix --- gulpfile.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'gulpfile.js') diff --git a/gulpfile.js b/gulpfile.js index 4dc7241..31205f8 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -122,10 +122,9 @@ const printChangelog = function (newIcons, modifiedIcons, renamedIcons, pretty = } }; -const generateIconsPreview = function(files, destFile, cb, columnsCount = 17) { +const generateIconsPreview = function(files, destFile, cb, columnsCount = 17, paddingOuter = 5) { const padding = 29, - paddingOuter = 5, iconSize = 24; const iconsCount = files.length, @@ -366,7 +365,7 @@ gulp.task('changelog-image', function (cb) { }); if(newIcons.length > 0) { - generateIconsPreview(newIcons, `packages/tabler-icons-${newVersion}.svg`, cb, 6); + generateIconsPreview(newIcons, `packages/tabler-icons-${newVersion}.svg`, cb, 6, 24); } else { cb(); } -- cgit v1.2.1