@threedddplus/logoeditor 0.0.101 → 0.0.103

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.
@@ -5372,7 +5372,7 @@ var initCanvas = function initCanvas() {
5372
5372
  });
5373
5373
  canv.on('object:scaling', function (e) {
5374
5374
  var obj = e.target;
5375
- obj.setCoords();
5375
+ console.log("++++", e);
5376
5376
  if (isNaN(e.pointer.x) || isNaN(e.pointer.y)) {
5377
5377
  obj.set({
5378
5378
  top: use3dddPlus.getState().lastPosition.top,
@@ -5380,6 +5380,7 @@ var initCanvas = function initCanvas() {
5380
5380
  });
5381
5381
  return;
5382
5382
  }
5383
+ obj.setCoords();
5383
5384
  var brNew = obj.getBoundingRect();
5384
5385
  if (brNew.width + brNew.left + 45 >= obj.canvas.width || brNew.height + brNew.top + 10 >= obj.canvas.height || brNew.left < 45 || brNew.top < 10) {
5385
5386
  obj.left = left1;
@@ -10246,15 +10247,14 @@ var DropdownIndicator = function DropdownIndicator(props) {
10246
10247
  })));
10247
10248
  };
10248
10249
  var style = {
10249
- control: function control(base) {
10250
+ control: function control(base, state) {
10250
10251
  return _extends({}, base, {
10251
- border: '1px solid #BEBEBE',
10252
- boxShadow: 'none',
10253
- '&:focus': {
10254
- border: 0
10255
- },
10252
+ // border: '1px solid #BEBEBE',
10253
+ border: state.isFocused ? 0 : 0,
10254
+ // This line disable the blue border
10255
+ boxShadow: state.isFocused ? 0 : 0,
10256
10256
  '&:hover': {
10257
- border: '1px solid #BEBEBE'
10257
+ border: state.isFocused ? 0 : 0
10258
10258
  }
10259
10259
  });
10260
10260
  },