fader: fix default height/width (100%) when top/left is auto

This commit is contained in:
jean-emmanuel 2016-11-19 16:31:22 +01:00
parent f001d46b40
commit d97bd21563
2 changed files with 2 additions and 3 deletions

View file

@ -312,9 +312,6 @@
if (e.button==2) {
e.preventDefault()
var off = getOffset(e.target)
e.offsetX = e.pageX-off.left
e.offsetY = e.pageY-off.top
$(e.target).trigger('fake-right-click',e)
}

View file

@ -3,8 +3,10 @@
--color-gauge: var(--color-custom);
--color-knob: var(--color-custom);
width:100rem;
height:100%;
&.horizontal {
height:130rem;
height:100%
}
}