Changeset 13852 in josm for trunk/src/org/openstreetmap/josm/data/osm/visitor/paint/StyledMapRenderer.java
- Timestamp:
- 2018-05-26T20:11:44+02:00 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/osm/visitor/paint/StyledMapRenderer.java
r13810 r13852 595 595 int textWidth = (int) bounds.getWidth(); 596 596 if (bs.hAlign == HorizontalTextAlignment.CENTER) { 597 x -= textWidth / 2 ;597 x -= textWidth / 2d; 598 598 } else if (bs.hAlign == HorizontalTextAlignment.LEFT) { 599 599 x -= -box.x + 4 + textWidth; … … 1667 1667 try { 1668 1668 record.paintPrimitive(paintSettings, this); 1669 } catch ( JosmRuntimeException | IllegalArgumentException | IllegalStateException | NullPointerException e) {1669 } catch (RuntimeException e) { 1670 1670 throw BugReport.intercept(e).put("record", record); 1671 1671 }
Note:
See TracChangeset
for help on using the changeset viewer.