Skip to content

Commit

Permalink
Fix #23911: wireframe was not properly highlighting relations
Browse files Browse the repository at this point in the history
This was a regression from r19166.

git-svn-id: https://josm.openstreetmap.de/svn/trunk@19217 0c6e7542-c601-0410-84e7-c038aed88b3b
  • Loading branch information
taylor.smock committed Sep 10, 2024
1 parent 833fd93 commit 48c99bb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ public void visit(IRelation<?> r) {
g.draw(new Ellipse2D.Double(p.getInViewX()-4, p.getInViewY()-4, 9, 9));
}

} else if (m.isWay() && viewArea.contains(m.getMember().getBBox())) {
} else if (m.isWay() && viewArea.intersects(m.getMember().getBBox())) {
GeneralPath path = new GeneralPath();

boolean first = true;
Expand Down

0 comments on commit 48c99bb

Please sign in to comment.