@threedddplus/logoeditor 0.0.77 → 0.0.78

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.
@@ -4689,14 +4689,14 @@ var initCanvas = function initCanvas() {
4689
4689
  var onObjectMoving = function onObjectMoving(e) {
4690
4690
  use3dddPlus.getState().updateModifaction(false);
4691
4691
  var obj = e.target;
4692
- // if (isNaN(obj.left)) {
4693
- // obj.left = -1;
4694
- // obj.setCoords();
4695
- // }
4696
- // if (isNaN(obj.top)) {
4697
- // obj.top = -1;
4698
- // obj.setCoords();
4699
- // }
4692
+ if (isNaN(obj.left)) {
4693
+ obj.left = -1;
4694
+ obj.setCoords();
4695
+ }
4696
+ if (isNaN(obj.top)) {
4697
+ obj.top = -1;
4698
+ obj.setCoords();
4699
+ }
4700
4700
  console.log(e);
4701
4701
  // if (
4702
4702
  // obj.getBoundingRect().width > obj.canvas.height ||