Ignore:
Timestamp:
2012-03-08T12:11:38+01:00 (12 years ago)
Author:
bastiK
Message:

see #6797: load map images in background, in case they are loaded over a network. Show temporary image in the meantime.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/mappaint/ElemStyles.java

    r4682 r5054  
    2929    private boolean defaultNodes, defaultLines;
    3030    private int defaultNodesIdx, defaultLinesIdx;
    31    
     31
    3232    public ElemStyles()
    3333    {
     
    317317                if (nodeStyle != null) {
    318318                    sl.add(nodeStyle);
    319                     addIfNotNull(sl, BoxTextElemStyle.create(env, nodeStyle.getBox()));
     319                    addIfNotNull(sl, BoxTextElemStyle.create(env, nodeStyle.getBoxProvider()));
    320320                } else {
    321                     addIfNotNull(sl, BoxTextElemStyle.create(env, NodeElemStyle.SIMPLE_NODE_ELEMSTYLE.getBox()));
     321                    addIfNotNull(sl, BoxTextElemStyle.create(env, NodeElemStyle.SIMPLE_NODE_ELEMSTYLE.getBoxProvider()));
    322322                }
    323323            } else if (osm instanceof Relation) {
Note: See TracChangeset for help on using the changeset viewer.