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