Changeset 16438 in josm for trunk/src/org/openstreetmap/josm/gui/widgets/MultiSplitLayout.java
- Timestamp:
- 2020-05-17T14:18:22+02:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/widgets/MultiSplitLayout.java
r14273 r16438 777 777 } else if (root instanceof Split) { 778 778 Split split = (Split) root; 779 for (Node child : split.getChildren()) {780 if (child.getBounds().contains(x, y))781 return dividerAt(child, x, y);782 }779 return split.getChildren().stream() 780 .filter(child -> child.getBounds().contains(x, y)) 781 .map(child -> dividerAt(child, x, y)) 782 .findFirst().orElse(null); 783 783 } 784 784 return null;
Note:
See TracChangeset
for help on using the changeset viewer.