Skip to content

Commit 7e1fda8

Browse files
committed
dont collapse disabled children in sortable list
1 parent 5cbf656 commit 7e1fda8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/main/java/com/cleanroommc/modularui/widgets/SortableListWidget.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ public class SortableListWidget<T> extends ListValueWidget<T, SortableListWidget
3333
public SortableListWidget() {
3434
super(Item::getWidgetValue);
3535
heightRel(1f);
36+
// this is not desired here in favor of animations
37+
collapseDisabledChild(false);
3638
}
3739

3840
@Override

0 commit comments

Comments
 (0)