keep the cursor style to 'move' if the cursor is above a feature. r=elemoine (closes #1673)

git-svn-id: http://svn.openlayers.org/trunk/openlayers@7713 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
Frédéric Junod
2008-08-08 13:34:59 +00:00
parent 3791712a10
commit f086ba17b4
2 changed files with 48 additions and 0 deletions

View File

@@ -232,6 +232,10 @@ OpenLayers.Control.DragFeature = OpenLayers.Class(OpenLayers.Control, {
this.feature = null;
// TBD replace with CSS classes
this.map.div.style.cursor = "default";
} else {
// the drag handler itself resetted the cursor, so
// set it back to "move" here
this.map.div.style.cursor = "move";
}
},