- Timestamp:
- 2010-05-08T17:44:45+02:00 (14 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/build.xml
r3162 r3222 33 33 --> 34 34 <target name="create-revision-eclipse"> 35 <copy file="styles/standard/elemstyles.xml" todir="data"/> 35 36 <property name="revision.dir" value="bin"/> 36 37 <antcall target="create-revision" /> -
trunk/src/org/openstreetmap/josm/data/osm/visitor/paint/MapPainter.java
r3201 r3222 180 180 } 181 181 182 public void drawNodeIcon(Node n, ImageIcon icon, boolean annotate, booleanselected, String name) {182 public void drawNodeIcon(Node n, ImageIcon icon, boolean selected, String name) { 183 183 Point p = nc.getPoint(n); 184 184 if ((p.x < 0) || (p.y < 0) || (p.x > nc.getWidth()) || (p.y > nc.getHeight())) return; -
trunk/src/org/openstreetmap/josm/gui/mappaint/IconElemStyle.java
r2675 r3222 42 42 if (painter.isShowIcons()) { 43 43 Node n = (Node) primitive; 44 String name = painter.isShowNames()?painter.getNodeName(n):null; 45 painter.drawNodeIcon(n, (painter.isInactive() || n.isDisabled())?getDisabledIcon():icon, 46 annotate, selected, name); 44 String name = painter.isShowNames() && annotate?painter.getNodeName(n):null; 45 painter.drawNodeIcon(n, (painter.isInactive() || n.isDisabled())?getDisabledIcon():icon, selected, name); 47 46 } else { 48 47 SimpleNodeElemStyle.INSTANCE.paintPrimitive(primitive, settings, painter, selected);
Note:
See TracChangeset
for help on using the changeset viewer.