customized-fabric 1.6.7 → 1.6.8
Sign up to get free protection for your applications and to get access to all the features.
@@ -6,9 +6,9 @@ exports.CURVED_TEXT_OBJECT_ATTRIBUTES = {
|
|
6
6
|
type: "CURVED_TEXT",
|
7
7
|
maxFontSize: 200,
|
8
8
|
stroke: {
|
9
|
-
stroke: "#
|
9
|
+
stroke: "#333",
|
10
10
|
strokeDashArray: [5, 5],
|
11
|
-
strokeWidth:
|
11
|
+
strokeWidth: 1,
|
12
12
|
},
|
13
13
|
};
|
14
14
|
exports.PARENT_ATTRIBUTES = ["top", "left", "width", "height", "angle"];
|
@@ -5,9 +5,9 @@ exports.IMAGE_PLACEHOLDER_OBJECT_ATTRIBUTES = {
|
|
5
5
|
name: "Image placeholder",
|
6
6
|
type: "IMAGE_PLACEHOLDER",
|
7
7
|
stroke: {
|
8
|
-
stroke: "#
|
8
|
+
stroke: "#333",
|
9
9
|
strokeDashArray: [5, 5],
|
10
|
-
strokeWidth:
|
10
|
+
strokeWidth: 1,
|
11
11
|
},
|
12
12
|
};
|
13
13
|
exports.IMAGE_FILTER_TYPES = {
|
@@ -6,9 +6,9 @@ exports.TEXT_INPUT_OBJECT_ATTRIBUTES = {
|
|
6
6
|
type: "TEXT_INPUT",
|
7
7
|
maxFontSize: 200,
|
8
8
|
stroke: {
|
9
|
-
stroke: "#
|
9
|
+
stroke: "#333",
|
10
10
|
strokeDashArray: [5, 5],
|
11
|
-
strokeWidth:
|
11
|
+
strokeWidth: 1,
|
12
12
|
},
|
13
13
|
};
|
14
14
|
exports.PARENT_ATTRIBUTES = ["top", "left", "width", "height", "angle"];
|
package/lib/utils/index.js
CHANGED
@@ -211,8 +211,8 @@ exports.asyncGetObject = asyncGetObject;
|
|
211
211
|
fabric_1.fabric.Object.prototype.transparentCorners = false;
|
212
212
|
fabric_1.fabric.Object.prototype.cornerColor = "transparent";
|
213
213
|
fabric_1.fabric.Object.prototype.cornerStyle = "circle";
|
214
|
-
fabric_1.fabric.Object.prototype.cornerStrokeColor = "
|
215
|
-
fabric_1.fabric.Object.prototype.borderColor = "
|
214
|
+
fabric_1.fabric.Object.prototype.cornerStrokeColor = "#3b75cf";
|
215
|
+
fabric_1.fabric.Object.prototype.borderColor = "#3b75cf";
|
216
216
|
fabric_1.fabric.Group.prototype.originX = "center";
|
217
217
|
fabric_1.fabric.Group.prototype.originY = "center";
|
218
218
|
fabric_1.fabric.ActiveSelection.prototype.originX = "center";
|