mirror of
https://github.com/xpipe-io/xpipe.git
synced 2026-10-05 06:37:47 +00:00
Small fixes [release]
This commit is contained in:
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;
|
||||
|
||||
Reference in new issue
Block a user