@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.
@@ -5380,7 +5380,7 @@ var initCanvas = function initCanvas() {
5380
5380
  });
5381
5381
  canv.on('object:scaling', function (e) {
5382
5382
  var obj = e.target;
5383
- obj.setCoords();
5383
+ console.log("++++", e);
5384
5384
  if (isNaN(e.pointer.x) || isNaN(e.pointer.y)) {
5385
5385
  obj.set({
5386
5386
  top: use3dddPlus.getState().lastPosition.top,
@@ -5388,6 +5388,7 @@ var initCanvas = function initCanvas() {
5388
5388
  });
5389
5389
  return;
5390
5390
  }
5391
+ obj.setCoords();
5391
5392
  var brNew = obj.getBoundingRect();
5392
5393
  if (brNew.width + brNew.left + 45 >= obj.canvas.width || brNew.height + brNew.top + 10 >= obj.canvas.height || brNew.left < 45 || brNew.top < 10) {
5393
5394
  obj.left = left1;
@@ -10254,15 +10255,14 @@ var DropdownIndicator = function DropdownIndicator(props) {
10254
10255
  })));
10255
10256
  };
10256
10257
  var style = {
10257
- control: function control(base) {
10258
+ control: function control(base, state) {
10258
10259
  return _extends({}, base, {
10259
- border: '1px solid #BEBEBE',
10260
- boxShadow: 'none',
10261
- '&:focus': {
10262
- border: 0
10263
- },
10260
+ // border: '1px solid #BEBEBE',
10261
+ border: state.isFocused ? 0 : 0,
10262
+ // This line disable the blue border
10263
+ boxShadow: state.isFocused ? 0 : 0,
10264
10264
  '&:hover': {
10265
- border: '1px solid #BEBEBE'
10265
+ border: state.isFocused ? 0 : 0
10266
10266
  }
10267
10267
  });
10268
10268
  },