mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 11:18: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
|
@Override
|
||||||
public void scrollSelectionIntoView() {
|
public void scrollSelectionIntoView() {
|
||||||
list.scrollIntoView(getSelectedIndex());
|
list.scrollIntoView(getSelectedIndex());
|
||||||
|
|||||||
Reference in New Issue
Block a user