widgets: useless uses of cached precision
This commit is contained in:
parent
c8810ebe31
commit
ab4f02de18
3 changed files with 5 additions and 5 deletions
|
|
@ -65,7 +65,7 @@ module.exports = class MultiXy extends Pad {
|
|||
default:this.getProp('default').length === this.getProp('points') * 2 ? [this.getProp('default')[i*2], this.getProp('default')[i*2 + 1]] : '',
|
||||
rangeX:this.getProp('rangeX'),
|
||||
rangeY:this.getProp('rangeY'),
|
||||
precision:this.precision,
|
||||
precision:this.getProp('precision'),
|
||||
logScaleX:this.getProp('logScaleX'),
|
||||
logScaleY:this.getProp('logScaleY'),
|
||||
pointSize: this.getProp('pointSize'),
|
||||
|
|
|
|||
|
|
@ -61,7 +61,7 @@ module.exports = class Xy extends Pad {
|
|||
snap:this.getProp('snap'),
|
||||
range:this.getProp('rangeX'),
|
||||
origin:'auto',
|
||||
precision:this.precision,
|
||||
precision:this.getProp('precision'),
|
||||
logScale:this.getProp('logScaleX'),
|
||||
input:false
|
||||
}, cancelDraw: true, parent: this}),
|
||||
|
|
@ -77,7 +77,7 @@ module.exports = class Xy extends Pad {
|
|||
snap:this.getProp('snap'),
|
||||
range:this.getProp('rangeY'),
|
||||
origin:'auto',
|
||||
precision:this.precision,
|
||||
precision:this.getProp('precision'),
|
||||
logScale:this.getProp('logScaleY'),
|
||||
input:false
|
||||
}, cancelDraw: true, parent: this}),
|
||||
|
|
|
|||
|
|
@ -234,7 +234,7 @@ module.exports = class Range extends Widget {
|
|||
spring:this.getProp('spring'),
|
||||
range:this.getProp('range'),
|
||||
origin:'auto',
|
||||
precision:this.precision,
|
||||
precision:this.getProp('precision'),
|
||||
logScale:this.getProp('logScale'),
|
||||
input:false
|
||||
}, cancelDraw: true, parent: this}),
|
||||
|
|
@ -251,7 +251,7 @@ module.exports = class Range extends Widget {
|
|||
spring:this.getProp('spring'),
|
||||
range:this.getProp('range'),
|
||||
origin:'auto',
|
||||
precision:this.precision,
|
||||
precision:this.getProp('precision'),
|
||||
logScale:this.getProp('logScale'),
|
||||
input:false
|
||||
}, cancelDraw: false, parent: this})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue