- Timestamp:
- 2015-12-11T20:48:34+01:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/osm/visitor/paint/StyledMapRenderer.java
r9099 r9102 419 419 */ 420 420 private void displayText(GlyphVector gv, String s, int x, int y, boolean disabled, TextElement text) { 421 if (gv == null && s.isEmpty()) return; 421 422 if (isInactiveMode || disabled) { 422 423 g.setColor(inactiveColor); … … 432 433 Shape textOutline; 433 434 if (gv == null) { 434 if (s.isEmpty()) return;435 435 FontRenderContext frc = g.getFontRenderContext(); 436 436 TextLayout tl = new TextLayout(s, text.font, frc);
Note:
See TracChangeset
for help on using the changeset viewer.