fader: fix default height/width (100%) when top/left is auto
This commit is contained in:
parent
f001d46b40
commit
d97bd21563
2 changed files with 2 additions and 3 deletions
|
|
@ -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)
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -3,8 +3,10 @@
|
|||
--color-gauge: var(--color-custom);
|
||||
--color-knob: var(--color-custom);
|
||||
width:100rem;
|
||||
height:100%;
|
||||
&.horizontal {
|
||||
height:130rem;
|
||||
height:100%
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue