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:
@@ -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";
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user