Fix scrolling issue with list view

This commit is contained in:
drdev
2014-07-25 04:12:40 +00:00
parent c4b4037577
commit d1713b2e94

View File

@@ -135,6 +135,16 @@ public final class ItemListView<T extends InventoryItem> extends ItemView<T> {
} }
} }
@Override
public float getScrollValue() {
return list.getScrollTop();
}
@Override
public void setScrollValue(float value) {
list.setScrollTop(value);
}
@Override @Override
public void scrollSelectionIntoView() { public void scrollSelectionIntoView() {
list.scrollIntoView(getSelectedIndex()); list.scrollIntoView(getSelectedIndex());