[OpenLayers-Commits] r11736 - trunk/openlayers/lib/OpenLayers/Renderer

commits-20090109 at openlayers.org commits-20090109 at openlayers.org
Tue Mar 29 05:24:50 EDT 2011


Author: ahocevar
Date: 2011-03-29 02:24:46 -0700 (Tue, 29 Mar 2011)
New Revision: 11736

Modified:
   trunk/openlayers/lib/OpenLayers/Renderer/VML.js
Log:
setting cursor property on text labels. r=fredj (closes #3188)

Modified: trunk/openlayers/lib/OpenLayers/Renderer/VML.js
===================================================================
--- trunk/openlayers/lib/OpenLayers/Renderer/VML.js	2011-03-29 09:01:11 UTC (rev 11735)
+++ trunk/openlayers/lib/OpenLayers/Renderer/VML.js	2011-03-29 09:24:46 UTC (rev 11736)
@@ -837,6 +837,9 @@
 
         textbox.innerText = style.label;
 
+        if (style.cursor != "inherit" && style.cursor != null) {
+            textbox.style.cursor = style.cursor;
+        }
         if (style.fontColor) {
             textbox.style.color = style.fontColor;
         }



More information about the Commits mailing list