Only call dashStyle when strokeDashstyle is set. r=tschaub (closes #2768)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@10621 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -329,7 +329,9 @@ OpenLayers.Renderer.VML = OpenLayers.Class(OpenLayers.Renderer.Elements, {
|
||||
stroke.opacity = style.strokeOpacity;
|
||||
stroke.endcap = style.strokeLinecap == 'butt' ? 'flat' :
|
||||
(style.strokeLinecap || 'round');
|
||||
stroke.dashstyle = this.dashStyle(style);
|
||||
if (style.strokeDashstyle) {
|
||||
stroke.dashstyle = this.dashStyle(style);
|
||||
}
|
||||
}
|
||||
|
||||
if (style.cursor != "inherit" && style.cursor != null) {
|
||||
|
||||
Reference in New Issue
Block a user