1
0
mirror of https://github.com/tabler/tabler-icons.git synced 2025-08-30 01:00:14 +02:00

gulp changelog image generator fix

This commit is contained in:
codecalm
2020-03-22 17:38:00 +01:00
parent 8d1997052c
commit dc4160fbeb

View File

@@ -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();
}