diff options
| author | codecalm <codecalm@gmail.com> | 2020-03-22 17:38:00 +0100 | 
|---|---|---|
| committer | codecalm <codecalm@gmail.com> | 2020-03-22 17:38:00 +0100 | 
| commit | dc4160fbebef1b3ae91fd114d4b0bd3be403b690 (patch) | |
| tree | 81b3c443c0ca4f80bdade1e320db9a9fc557f375 | |
| parent | changelog format fix (diff) | |
| download | tabler-icons-dc4160fbebef1b3ae91fd114d4b0bd3be403b690.tar.xz | |
gulp changelog image generator fix
| -rw-r--r-- | gulpfile.js | 5 | 
1 files changed, 2 insertions, 3 deletions
diff --git a/gulpfile.js b/gulpfile.js index 4dc72413..31205f83 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();  			}  | 
