Small fixes [release]

This commit is contained in:
crschnick committed 2026-09-17 16:25:29 +00:00
1 parent 00940359ac
commit 751b0cdb43
3 files changed
+22 -5

No files matched your search

@@ -369,10 +369,6 @@ public class StoreCategoryWrapper {
public void insertSiblingCategory(StoreCategoryWrapper selection, boolean after) {
var l = getParent().getShownChildren().getList();
var index = l.indexOf(this);
if (index == -1) {
return;
}
var min = index > 0 || after
? l.get(index - (after ? 0 : 1)).getCategory().getOrderIndex()
: l.getFirst().getCategory().getOrderIndex() - 1.0;