scrollbar: fix initial value in vertical mode
This commit is contained in:
parent
efe5629396
commit
ce0ae02c8b
1 changed files with 2 additions and 0 deletions
|
|
@ -47,8 +47,10 @@ export default class Scrollbar extends StaticProperties(Fader, {
|
|||
this.thumbSize = 1
|
||||
|
||||
if (!this.getProp('horizontal')) {
|
||||
// invert vertical fader
|
||||
this.rangeVals[0] = 1
|
||||
this.rangeVals[1] = 0
|
||||
this.setValue(this.getSpringValue())
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue