leafer-draw 2.0.9 → 2.1.0
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/web.js +8 -4
- package/dist/web.min.js +1 -1
- package/dist/web.min.js.map +1 -1
- package/dist/web.module.js +8 -4
- package/dist/web.module.min.js +1 -1
- package/dist/web.module.min.js.map +1 -1
- package/package.json +3 -3
package/dist/web.js
CHANGED
|
@@ -6663,7 +6663,7 @@ var LeaferUI = function(exports) {
|
|
|
6663
6663
|
this.levelMap = null;
|
|
6664
6664
|
}
|
|
6665
6665
|
}
|
|
6666
|
-
const version = "2.0
|
|
6666
|
+
const version = "2.1.0";
|
|
6667
6667
|
const debug$4 = Debug.get("LeaferCanvas");
|
|
6668
6668
|
class LeaferCanvas extends LeaferCanvasBase {
|
|
6669
6669
|
set zIndex(zIndex) {
|
|
@@ -7611,8 +7611,8 @@ var LeaferUI = function(exports) {
|
|
|
7611
7611
|
return this.__getRealStrokeWidth();
|
|
7612
7612
|
}
|
|
7613
7613
|
get __maxStrokeWidth() {
|
|
7614
|
-
const t = this;
|
|
7615
|
-
return t.__hasMultiStrokeStyle ? Math.max(t.__hasMultiStrokeStyle,
|
|
7614
|
+
const t = this, strokeWidth = t.__hasStrokeSides || t.strokeWidth;
|
|
7615
|
+
return t.__hasMultiStrokeStyle ? Math.max(t.__hasMultiStrokeStyle, strokeWidth) : strokeWidth;
|
|
7616
7616
|
}
|
|
7617
7617
|
get __hasMultiPaint() {
|
|
7618
7618
|
const t = this;
|
|
@@ -7713,6 +7713,10 @@ var LeaferUI = function(exports) {
|
|
|
7713
7713
|
}
|
|
7714
7714
|
return strokeWidth;
|
|
7715
7715
|
}
|
|
7716
|
+
__checkComplex() {
|
|
7717
|
+
const t = this;
|
|
7718
|
+
stintSet$3(t, "__complex", t.__isFills || t.__isStrokes || t.cornerRadius || t.__useEffect);
|
|
7719
|
+
}
|
|
7716
7720
|
__setPaint(attrName, value) {
|
|
7717
7721
|
this.__setInput(attrName, value);
|
|
7718
7722
|
const layout = this.__leaf.__layout;
|
|
@@ -7927,7 +7931,7 @@ var LeaferUI = function(exports) {
|
|
|
7927
7931
|
data.__useEffect = !!(shadow || otherEffect);
|
|
7928
7932
|
}
|
|
7929
7933
|
data.__checkSingle();
|
|
7930
|
-
|
|
7934
|
+
data.__checkComplex();
|
|
7931
7935
|
},
|
|
7932
7936
|
__drawFast(canvas, options) {
|
|
7933
7937
|
drawFast(this, canvas, options);
|