Changeset 969 for trunk/src/org/expeditee
- Timestamp:
- 10/20/15 11:44:16 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/expeditee/io/flowlayout/XGroupItem.java
r968 r969 453 453 if (xgroup_item != this) { 454 454 455 if(out_of_flow.contains(xgroup_item)) continue; 455 if(out_of_flow.contains(xgroup_item)) { 456 final Collection<Item> remaining_dots = new ArrayList<Item>(xgroup_item.remaining_item_list); 457 boolean hasExit = false; 458 for(final Item i : remaining_dots) { 459 final List<Line> lines = i.getLines(); 460 if(lines.size() == 1 && lines.get(0).getStartItem() == i) { 461 hasExit = true; 462 break; 463 } 464 } 465 if(hasExit) continue; 466 } 456 467 457 468 out_of_flow.add(xgroup_item); … … 519 530 public void repositionOutOfFlowGroups(XGroupItem toplevel_xgroup) 520 531 { 521 Collection<XGroupItem> out_of_flow = new HashSet<XGroupItem>(); 532 // Collection<XGroupItem> out_of_flow = new HashSet<XGroupItem>(); 533 Collection<XGroupItem> out_of_flow = new ArrayList<XGroupItem>(); 522 534 523 535 repositionOutOfFlowGroupsRecursive(toplevel_xgroup,out_of_flow);
Note:
See TracChangeset
for help on using the changeset viewer.