v0.9.2: fixed recently added error with scroll indicator in ScrollPane
This commit is contained in:
parent
a933194342
commit
6550ac9130
|
@ -61,7 +61,7 @@ public class ScrollPane extends Component {
|
||||||
|
|
||||||
public void scrollTo( float x, float y ) {
|
public void scrollTo( float x, float y ) {
|
||||||
content.camera.scroll.set( x, y );
|
content.camera.scroll.set( x, y );
|
||||||
thumb.y = y + height * content.camera.scroll.y / content.height();
|
thumb.y = this.y + height * content.camera.scroll.y / content.height();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in New Issue
Block a user