@threedddplus/logoeditor 0.0.148 → 0.0.150
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/logoeditor.cjs.development.js +18 -12
- package/dist/logoeditor.cjs.development.js.map +1 -1
- package/dist/logoeditor.cjs.production.min.js +1 -1
- package/dist/logoeditor.cjs.production.min.js.map +1 -1
- package/dist/logoeditor.esm.js +18 -12
- package/dist/logoeditor.esm.js.map +1 -1
- package/package.json +1 -1
@@ -4207,9 +4207,7 @@ var converterSlice = function converterSlice(set, get) {
|
|
4207
4207
|
loadedObject.set({
|
4208
4208
|
colorFill: fillColors,
|
4209
4209
|
lockMovementX: true,
|
4210
|
-
lockMovementY: true
|
4211
|
-
//@ts-ignore
|
4212
|
-
setControlVisible: true
|
4210
|
+
lockMovementY: true
|
4213
4211
|
});
|
4214
4212
|
// loadedObject.id = use3dddPlus.getState().guid();
|
4215
4213
|
// loadedObject = new fabric.Group(objImage, options);
|
@@ -4282,15 +4280,23 @@ var converterSlice = function converterSlice(set, get) {
|
|
4282
4280
|
loading: false
|
4283
4281
|
});
|
4284
4282
|
use3dddPlus.getState().popUpCanvasUpdateModification(true);
|
4285
|
-
|
4286
|
-
|
4287
|
-
|
4288
|
-
|
4289
|
-
|
4290
|
-
|
4291
|
-
}
|
4292
|
-
|
4293
|
-
|
4283
|
+
if (addCheckerBox) {
|
4284
|
+
loadedObject.set({
|
4285
|
+
lockMovementX: true,
|
4286
|
+
lockMovementY: true,
|
4287
|
+
lockScalingX: true,
|
4288
|
+
lockScalingY: true
|
4289
|
+
});
|
4290
|
+
var _objects = canvas.getObjects();
|
4291
|
+
_objects.forEach(function (element) {
|
4292
|
+
if (element.type !== 'line') {
|
4293
|
+
element.set({
|
4294
|
+
perPixelTargetFind: true
|
4295
|
+
});
|
4296
|
+
}
|
4297
|
+
});
|
4298
|
+
canvas.discardActiveObject();
|
4299
|
+
}
|
4294
4300
|
});
|
4295
4301
|
};
|
4296
4302
|
var getDesignConceptSVGData = function getDesignConceptSVGData(svgData) {
|