don't set the cursor to "inherit" in the VML renderer. r=pgiraud (closes #1624)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@7554 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -253,7 +253,7 @@ OpenLayers.Renderer.VML = OpenLayers.Class(OpenLayers.Renderer.Elements, {
|
|||||||
stroke.setAttribute("endcap", !style.strokeLinecap || style.strokeLinecap == 'butt' ? 'flat' : style.strokeLinecap);
|
stroke.setAttribute("endcap", !style.strokeLinecap || style.strokeLinecap == 'butt' ? 'flat' : style.strokeLinecap);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (style.cursor != null) {
|
if (style.cursor != "inherit" && style.cursor != null) {
|
||||||
node.style.cursor = style.cursor;
|
node.style.cursor = style.cursor;
|
||||||
}
|
}
|
||||||
return node;
|
return node;
|
||||||
|
|||||||
Reference in New Issue
Block a user