mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 19:28:01 +00:00
Fix scrolling issue with list view
This commit is contained in:
@@ -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
|
||||
public void scrollSelectionIntoView() {
|
||||
list.scrollIntoView(getSelectedIndex());
|
||||
|
||||
Reference in New Issue
Block a user