modern-canvas 0.4.36 → 0.4.37
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +0 -4
- package/dist/index.js +11 -11
- package/dist/index.mjs +0 -4
- package/package.json +3 -3
package/dist/index.cjs
CHANGED
|
@@ -5661,10 +5661,6 @@ class GradientTexture extends Texture2D {
|
|
|
5661
5661
|
return this.regExp.test(value);
|
|
5662
5662
|
}
|
|
5663
5663
|
constructor(value, width, height) {
|
|
5664
|
-
if (width === Infinity)
|
|
5665
|
-
width = 0;
|
|
5666
|
-
if (height === Infinity)
|
|
5667
|
-
height = 0;
|
|
5668
5664
|
super(
|
|
5669
5665
|
LinearGradient.from(value).parse(width, height)
|
|
5670
5666
|
);
|