@leafer-ui/draw 1.10.0 → 1.10.1
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/lib/draw.cjs +1 -1
- package/lib/draw.esm.js +1 -1
- package/lib/draw.esm.min.js.map +1 -1
- package/lib/draw.min.cjs.map +1 -1
- package/package.json +6 -6
package/lib/draw.cjs
CHANGED
|
@@ -666,7 +666,7 @@ exports.UI = UI_1 = class UI extends core.Leaf {
|
|
|
666
666
|
drawer.roundRect(x, y, width, height, core.isNumber(cornerRadius) ? [ cornerRadius ] : cornerRadius);
|
|
667
667
|
} else drawer.rect(x, y, width, height);
|
|
668
668
|
}
|
|
669
|
-
drawImagePlaceholder(
|
|
669
|
+
drawImagePlaceholder(_paint, canvas, renderOptions) {
|
|
670
670
|
Paint.fill(this.__.placeholderColor, this, canvas, renderOptions);
|
|
671
671
|
}
|
|
672
672
|
animate(keyframe, _options, _type, _isTemp) {
|
package/lib/draw.esm.js
CHANGED
|
@@ -666,7 +666,7 @@ let UI = UI_1 = class UI extends Leaf {
|
|
|
666
666
|
drawer.roundRect(x, y, width, height, isNumber(cornerRadius) ? [ cornerRadius ] : cornerRadius);
|
|
667
667
|
} else drawer.rect(x, y, width, height);
|
|
668
668
|
}
|
|
669
|
-
drawImagePlaceholder(
|
|
669
|
+
drawImagePlaceholder(_paint, canvas, renderOptions) {
|
|
670
670
|
Paint.fill(this.__.placeholderColor, this, canvas, renderOptions);
|
|
671
671
|
}
|
|
672
672
|
animate(keyframe, _options, _type, _isTemp) {
|