Changeset 9102 in josm for trunk/src


Ignore:
Timestamp:
2015-12-11T20:48:34+01:00 (9 years ago)
Author:
bastiK
Message:

fixed #12182 - Plus sign (add node on way) renders different depending on place=* presence

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/osm/visitor/paint/StyledMapRenderer.java

    r9099 r9102  
    419419     */
    420420    private void displayText(GlyphVector gv, String s, int x, int y, boolean disabled, TextElement text) {
     421        if (gv == null && s.isEmpty()) return;
    421422        if (isInactiveMode || disabled) {
    422423            g.setColor(inactiveColor);
     
    432433            Shape textOutline;
    433434            if (gv == null) {
    434                 if (s.isEmpty()) return;
    435435                FontRenderContext frc = g.getFontRenderContext();
    436436                TextLayout tl = new TextLayout(s, text.font, frc);
Note: See TracChangeset for help on using the changeset viewer.