Ignore:
Timestamp:
2020-04-15T21:59:18+02:00 (4 years ago)
Author:
simon04
Message:

see #8352 - PropertiesDialog: do not replace CSS color name with HEX code

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/dialogs/properties/PropertiesCellRenderer.java

    r16293 r16308  
    126126                        ? str
    127127                        : ColorHelper.color2html(ColorHelper.html2color(str));
    128                 str = "<html><body><span color='" + color + "'>\u25A0</span> " + color + "</body></html>";
     128                str = "<html><body><span color='" + color + "'>\u25A0</span> " + str + "</body></html>";
    129129            }
    130130            ((JLabel) c).putClientProperty("html.disable", enableHTML ? null : Boolean.TRUE); // Fix #8730
Note: See TracChangeset for help on using the changeset viewer.