@threedddplus/logoeditor 0.0.63 → 0.0.65
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.
@@ -4700,14 +4700,14 @@ var initCanvas = function initCanvas() {
|
|
4700
4700
|
return Math.abs(scaledObjCenterX - canvasCenterX) < threshold;
|
4701
4701
|
}
|
4702
4702
|
var horizontalLine = new fabric.fabric.Line([0, canv.height / 2, canv.height, canv.height / 2], {
|
4703
|
-
stroke:
|
4703
|
+
stroke: 'red',
|
4704
4704
|
scaleX: 11,
|
4705
4705
|
visible: false,
|
4706
4706
|
selectable: false,
|
4707
4707
|
type: 'line'
|
4708
4708
|
});
|
4709
4709
|
var verticalLine = new fabric.fabric.Line([canv.width / 2, 0, canv.width / 2, canv.width], {
|
4710
|
-
stroke:
|
4710
|
+
stroke: 'red',
|
4711
4711
|
visible: false,
|
4712
4712
|
selectable: false,
|
4713
4713
|
type: 'line'
|
@@ -4828,7 +4828,7 @@ var initCanvas = function initCanvas() {
|
|
4828
4828
|
}
|
4829
4829
|
|
4830
4830
|
var removeItem = function removeItem(value) {
|
4831
|
-
//@ts-ignore
|
4831
|
+
//@ts-ignore
|
4832
4832
|
var index = use3dddPlus.getState().storeAllObject.findIndex(function (obj) {
|
4833
4833
|
return obj.id === value.id;
|
4834
4834
|
});
|