OpenLayers OpenLayers

Changeset 6080

Show
Ignore:
Timestamp:
02/08/08 01:51:01 (1 year ago)
Author:
fredj
Message:

Correctly add the fill element to the VML node. r=ahocevar (Closes #1312)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/openlayers/lib/OpenLayers/Renderer/VML.js

    r5944 r6080  
    217217                if (!(style.graphicWidth && style.graphicHeight)) { 
    218218                  fill.aspect = "atmost"; 
    219                 } 
    220                  
    221                 if (fill.parentNode != node) { 
    222                     node.appendChild(fill); 
    223                 } 
     219                }                 
     220            } 
     221            if (fill.parentNode != node) { 
     222                node.appendChild(fill); 
    224223            } 
    225224        }