Skip to content

Commit

Permalink
0.37.3
Browse files Browse the repository at this point in the history
  • Loading branch information
yuanchuan committed Oct 2, 2023
1 parent 586a217 commit 6ac5bee
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 5 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
## 0.37.3

* Fix build.

<br /> <br />


## 0.37.2

* Fix viewBox padding calculation.
Expand Down
7 changes: 4 additions & 3 deletions css-doodle.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! css-doodle@0.37.1 */
/*! css-doodle@0.37.3 */
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
typeof define === 'function' && define.amd ? define(factory) :
Expand Down Expand Up @@ -2041,7 +2041,7 @@
}
let [x, y, w, h] = viewBox;
if (p) {
[x, y, w, h] = [x-p, x-p, w+p*2, h+p*2];
[x, y, w, h] = [x-p, y-p, w+p*2, h+p*2];
}
return `${x} ${y} ${w} ${h}`;
}
Expand Down Expand Up @@ -3942,7 +3942,7 @@
}
},

unicode() {
code() {
return (...args) => {
return args.map(code => String.fromCharCode(code));
}
Expand Down Expand Up @@ -4036,6 +4036,7 @@
'point': 'plot',
'Point': 'Plot',
'paint': 'canvas',
'unicode': 'code'
});

const presets = {
Expand Down
2 changes: 1 addition & 1 deletion css-doodle.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "css-doodle",
"version": "0.37.2",
"version": "0.37.3",
"description": "A web component for drawing patterns with CSS",
"main": "css-doodle.js",
"scripts": {
Expand Down

0 comments on commit 6ac5bee

Please sign in to comment.