smooth-corners
Advanced tools
Comparing version 1.0.2 to 1.0.3
{ | ||
"name": "smooth-corners", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "CSS superellipse masks with the Houdini API", | ||
@@ -5,0 +5,0 @@ "main": "paint.js", |
@@ -31,3 +31,3 @@ class SmoothCornersPainter { | ||
ctx.fillStyle = 'black'; | ||
ctx.fillStyle = '#000'; | ||
ctx.setTransform(1, 0, 0, 1, width, height); | ||
@@ -34,0 +34,0 @@ ctx.beginPath(); |
@@ -19,3 +19,3 @@ <h1 align=center>Smooth Corners</h1> | ||
![](https://repository-images.githubusercontent.com/283091953/46814880-d08f-11ea-8933-05a3818dc9b7) | ||
![Static demo of Smooth Corners][CTA] | ||
@@ -99,2 +99,3 @@ ## Usage | ||
[Paint Worklet]:https://developer.mozilla.org/en-US/docs/Web/API/PaintWorklet | ||
[Example]:https://raw.githubusercontent.com/wopian/smooth-corners/master/example.png | ||
[CTA]:https://raw.githubusercontent.com/wopian/smooth-corners/master/.github/images/cta.png | ||
[Example]:https://raw.githubusercontent.com/wopian/smooth-corners/master/.github/images/example.png |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
6769
100