mirror of
https://github.com/xpipe-io/xpipe.git
synced 2026-09-27 02:45:36 +00:00
Reset scroll
This commit is contained in:
@@ -28,6 +28,12 @@ public class StoreEntryListComp extends SimpleComp {
|
||||
return custom;
|
||||
},
|
||||
true);
|
||||
content.apply(struc -> {
|
||||
// Reset scroll
|
||||
StoreViewState.get().getActiveCategory().addListener((observable, oldValue, newValue) -> {
|
||||
struc.get().setVvalue(0);
|
||||
});
|
||||
});
|
||||
return content.styleClass("store-list-comp");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user