@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.
- package/dist/logoeditor.cjs.development.js +8 -8
- 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 +8 -8
- package/dist/logoeditor.esm.js.map +1 -1
- package/package.json +1 -1
@@ -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
|
-
|
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
|
-
|
10261
|
-
|
10262
|
-
|
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:
|
10265
|
+
border: state.isFocused ? 0 : 0
|
10266
10266
|
}
|
10267
10267
|
});
|
10268
10268
|
},
|