@threedddplus/logoeditor 0.0.129 → 0.0.131
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 +3 -1
- 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 +3 -1
- package/dist/logoeditor.esm.js.map +1 -1
- package/package.json +1 -1
@@ -4180,6 +4180,8 @@ var converterSlice = function converterSlice(set, get) {
|
|
4180
4180
|
}
|
4181
4181
|
loadedObject.set({
|
4182
4182
|
colorFill: fillColors,
|
4183
|
+
lockMovementX: true,
|
4184
|
+
lockMovementY: true,
|
4183
4185
|
//@ts-ignore
|
4184
4186
|
setControlVisible: false
|
4185
4187
|
});
|
@@ -6735,7 +6737,7 @@ var PopUpCanvas = function PopUpCanvas() {
|
|
6735
6737
|
window.addEventListener('click', removeColorPalatte);
|
6736
6738
|
//FOR REMOVING COLOR
|
6737
6739
|
popupCanv.on('mouse:down', function (event) {
|
6738
|
-
|
6740
|
+
popupCanv.discardActiveObject();
|
6739
6741
|
var pointer = popupCanv.getPointer(event.e);
|
6740
6742
|
console.log(event.target.fill);
|
6741
6743
|
var target = popupCanv.findTarget(event.e, true);
|