encoder: remove compact option, use pips instead of noPip
This commit is contained in:
parent
85e8632b9e
commit
690a048f30
1 changed files with 2 additions and 4 deletions
|
|
@ -43,7 +43,6 @@ module.exports = class Encoder extends _widgets_base {
|
|||
width:'auto',
|
||||
height:'auto',
|
||||
color:'auto',
|
||||
compact:true,
|
||||
css:'',
|
||||
|
||||
_behaviour:'behaviour',
|
||||
|
|
@ -84,7 +83,7 @@ module.exports = class Encoder extends _widgets_base {
|
|||
angle:360,
|
||||
snap:true,
|
||||
range:{min:0,max:this.ticks},
|
||||
noPip:true,
|
||||
pips:false,
|
||||
}})
|
||||
|
||||
this.knob.noDraw = true
|
||||
|
|
@ -93,9 +92,8 @@ module.exports = class Encoder extends _widgets_base {
|
|||
label:false,
|
||||
angle:360,
|
||||
range:{min:0,max:this.ticks},
|
||||
compact:this.getProp('compact'),
|
||||
origin:this.ticks/2,
|
||||
noPip:true,
|
||||
pips:false,
|
||||
}})
|
||||
|
||||
this.wrapper.append(this.knob.widget.addClass('drag-knob'))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue