ui: compact fader 1px canvas

This commit is contained in:
jean-emmanuel 2017-06-21 08:26:58 +02:00
parent 074a94fa26
commit ce175f42e7

View file

@ -170,7 +170,7 @@ module.exports = class Fader extends _sliders_base {
resizeHandle(){
super.resizeHandle(...arguments)
if (this.getProp('compact') && (!this.getProp('pips') || this.rangeKeys.length == 2)) {
if (this.getProp('compact')) {
if (this.getProp('horizontal')) {
this.canvas[0].setAttribute('height', 1)
} else {