fader: add horizontal class
range: design name fix
This commit is contained in:
parent
41f2ce5210
commit
9531ae9cde
2 changed files with 3 additions and 1 deletions
|
|
@ -60,6 +60,8 @@ module.exports = class Fader extends Slider {
|
|||
|
||||
super(options)
|
||||
|
||||
this.container.classList.toggle('horizontal', this.getProp('horizontal'))
|
||||
|
||||
this.gaugeGradient = null
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -296,7 +296,7 @@ class Range extends Fader {
|
|||
this.clearRect = [0, 0, width, height]
|
||||
|
||||
|
||||
} else if (this.getProp('design') === 'classic') {
|
||||
} else if (this.getProp('design') === 'default') {
|
||||
|
||||
for (let _d of [d, d2]) {
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue