knob: fix tiny size with zoom
This commit is contained in:
parent
e55f9da475
commit
6da5d689cd
1 changed files with 1 additions and 1 deletions
|
|
@ -142,7 +142,7 @@ module.exports = class Knob extends _sliders_base {
|
|||
|
||||
if (!this.width || !this.height) return
|
||||
|
||||
var tiny = this.minDimension < 45,
|
||||
var tiny = this.minDimension < 45 * PXSCALE,
|
||||
margin = tiny ? 0 : 5 * PXSCALE
|
||||
|
||||
var o = this.percentToAngle(this.valueToPercent(this.originValue)),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue