diff options
author | codecalm <codecalm@gmail.com> | 2020-09-26 19:23:29 +0200 |
---|---|---|
committer | codecalm <codecalm@gmail.com> | 2020-09-26 19:23:29 +0200 |
commit | 44085859a93b8a90924529547b2123cb1da871c2 (patch) | |
tree | 0fa5ab0c7d3b76fa98fd71db383d5efef0105bad /gulpfile.js | |
parent | `stars` icon (diff) | |
download | tabler-icons-44085859a93b8a90924529547b2123cb1da871c2.tar.xz |
4 new icons: `box-3d`, `box-seam`, `vector-beizer-2`, `vector-beizer`
Diffstat (limited to 'gulpfile.js')
-rw-r--r-- | gulpfile.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gulpfile.js b/gulpfile.js index d2896f8f..892981bc 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -423,10 +423,10 @@ gulp.task('optimize', function (cb) { .replace(/<path d="M([0-9.]*) ([0-9.]*)l\s?([-0-9.]*) ([-0-9.]*)"/g, function (f, r1, r2, r3, r4) { return `<line x1="${r1}" y1="${r2}" x2="${addFloats(r1, r3)}" y2="${addFloats(r2, r4)}"`; }) - .replace(/<path d="M([0-9.]*) ([0-9.]*)v\s?([0-9.]*)"/g, function (f, r1, r2, r3) { + .replace(/<path d="M([0-9.]*) ([0-9.]*)v\s?([-0-9.]*)"/g, function (f, r1, r2, r3) { return `<line x1="${r1}" y1="${r2}" x2="${r1}" y2="${addFloats(r2, r3)}"`; }) - .replace(/<path d="M([0-9.]*) ([0-9.]*)h\s?([0-9.]*)"/g, function (f, r1, r2, r3) { + .replace(/<path d="M([0-9.]*) ([0-9.]*)h\s?([-0-9.]*)"/g, function (f, r1, r2, r3) { return `<line x1="${r1}" y1="${r2}" x2="${addFloats(r1, r3)}" y2="${r2}"`; }) .replace(/<path d="([^"]+)"/g, function (f, r1) { |