Subset Widget Improvement

This commit is contained in:
slprime committed 2024-12-24 21:16:41 +02:00
1 parent ca7030df72
commit bde9a20947
16 files changed
+905 -673

No files matched your search

@@ -11,6 +11,6 @@ public class WidgetZOrder implements Comparator<Widget> {
}
public int compare(Widget w1, Widget w2) {
return w1.z != w2.z ? ((topfirst ? w1.z > w2.z : w1.z < w2.z) ? 1 : -1) : 1;
return w1.z != w2.z ? ((topfirst ? w1.z < w2.z : w1.z > w2.z) ? 1 : -1) : 1;
}
}