Fix border size for shapes
This commit is contained in:
parent
a30a5dbeff
commit
5b9b912625
|
@ -1113,7 +1113,7 @@ define([
|
|||
|
||||
if (w!==null) w = this._mm2pt(w);
|
||||
var _selectedItem = (w===null) ? w : _.find(this.cmbBorderSize.store.models, function(item) {
|
||||
if ( w<item.attributes.value+0.00001 && w>item.attributes.value-0.00001) {
|
||||
if ( w<item.attributes.value+0.0001 && w>item.attributes.value-0.0001) {
|
||||
return true;
|
||||
}
|
||||
});
|
||||
|
|
|
@ -773,7 +773,7 @@ define([
|
|||
|
||||
if (w!==null) w = this._mm2pt(w);
|
||||
var _selectedItem = (w===null) ? w : _.find(this.cmbBorderSize.store.models, function(item) {
|
||||
if ( w<item.attributes.value+0.00001 && w>item.attributes.value-0.00001) {
|
||||
if ( w<item.attributes.value+0.0001 && w>item.attributes.value-0.0001) {
|
||||
return true;
|
||||
}
|
||||
});
|
||||
|
|
|
@ -1043,7 +1043,7 @@ define([
|
|||
|
||||
if (w!==null) w = this._mm2pt(w);
|
||||
var _selectedItem = (w===null) ? w : _.find(this.cmbBorderSize.store.models, function(item) {
|
||||
if ( w<item.attributes.value+0.00001 && w>item.attributes.value-0.00001) {
|
||||
if ( w<item.attributes.value+0.0001 && w>item.attributes.value-0.0001) {
|
||||
return true;
|
||||
}
|
||||
});
|
||||
|
|
|
@ -976,7 +976,7 @@ define([
|
|||
|
||||
if (w!==null) w = this._mm2pt(w);
|
||||
var _selectedItem = (w===null) ? w : _.find(this.cmbBorderSize.store.models, function(item) {
|
||||
if ( w<item.attributes.value+0.00001 && w>item.attributes.value-0.00001) {
|
||||
if ( w<item.attributes.value+0.0001 && w>item.attributes.value-0.0001) {
|
||||
return true;
|
||||
}
|
||||
});
|
||||
|
|
|
@ -1039,7 +1039,7 @@ define([
|
|||
|
||||
if (w!==null) w = this._mm2pt(w);
|
||||
var _selectedItem = (w===null) ? w : _.find(this.cmbBorderSize.store.models, function(item) {
|
||||
if ( w<item.attributes.value+0.00001 && w>item.attributes.value-0.00001) {
|
||||
if ( w<item.attributes.value+0.0001 && w>item.attributes.value-0.0001) {
|
||||
return true;
|
||||
}
|
||||
});
|
||||
|
|
|
@ -973,7 +973,7 @@ define([
|
|||
|
||||
if (w!==null) w = this._mm2pt(w);
|
||||
var _selectedItem = (w===null) ? w : _.find(this.cmbBorderSize.store.models, function(item) {
|
||||
if ( w<item.attributes.value+0.00001 && w>item.attributes.value-0.00001) {
|
||||
if ( w<item.attributes.value+0.0001 && w>item.attributes.value-0.0001) {
|
||||
return true;
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue