@threedddplus/logoeditor 0.0.129 → 0.0.130

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.
@@ -4171,6 +4171,8 @@ var converterSlice = function converterSlice(set, get) {
4171
4171
  }
4172
4172
  loadedObject.set({
4173
4173
  colorFill: fillColors,
4174
+ lockMovementX: true,
4175
+ lockMovementY: true,
4174
4176
  //@ts-ignore
4175
4177
  setControlVisible: false
4176
4178
  });
@@ -6726,7 +6728,7 @@ var PopUpCanvas = function PopUpCanvas() {
6726
6728
  window.addEventListener('click', removeColorPalatte);
6727
6729
  //FOR REMOVING COLOR
6728
6730
  popupCanv.on('mouse:down', function (event) {
6729
- // popupCanv.discardActiveObject();
6731
+ popupCanv.discardActiveObject();
6730
6732
  var pointer = popupCanv.getPointer(event.e);
6731
6733
  console.log(event.target.fill);
6732
6734
  var target = popupCanv.findTarget(event.e, true);