v0.0.3
This commit is contained in:
@@ -47,15 +47,15 @@ public class ScreenIdentify extends Stage implements TimiFXUI {
|
||||
while (c.next()) {
|
||||
if (c.wasAdded()) {
|
||||
List<? extends Identify> list = c.getAddedSubList();
|
||||
for (int i = 0; i < list.size(); i++) {
|
||||
Rectangle2D r2d = list.get(i).screen.getBounds();
|
||||
list.get(i).show(this, r2d.getMinX() + 80, r2d.getMinY() + 80);
|
||||
for (Identify identify : list) {
|
||||
Rectangle2D r2d = identify.screen.getBounds();
|
||||
identify.show(this, r2d.getMinX() + 80, r2d.getMinY() + 80);
|
||||
}
|
||||
}
|
||||
if (c.wasRemoved()) {
|
||||
List<? extends Identify> list = c.getRemoved();
|
||||
for (int i = 0; i < list.size(); i++) {
|
||||
list.get(i).hide();
|
||||
for (Identify identify : list) {
|
||||
identify.hide();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user