Controls should (by definition within OL) stop downs (if they care) and allow
ups to propogate. The default behavior of the Feature handler broke this rule, and as a result, some aspects of ragging a box control failed when letting go over a feature. This corrects the behavior. r=ahocevar. (Closes #1293) git-svn-id: http://svn.openlayers.org/trunk/openlayers@7873 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -96,9 +96,9 @@ OpenLayers.Handler.Feature = OpenLayers.Class(OpenLayers.Handler, {
|
|||||||
* {Boolean} If stopUp is set to true, handled mouseups do not
|
* {Boolean} If stopUp is set to true, handled mouseups do not
|
||||||
* propagate to other mouseup listeners. Otherwise, handled mouseups
|
* propagate to other mouseup listeners. Otherwise, handled mouseups
|
||||||
* do propagate. Unhandled mouseups always propagate, whatever the
|
* do propagate. Unhandled mouseups always propagate, whatever the
|
||||||
* value of stopUp. Defaults to true.
|
* value of stopUp. Defaults to false.
|
||||||
*/
|
*/
|
||||||
stopUp: true,
|
stopUp: false,
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Property: layerIndex
|
* Property: layerIndex
|
||||||
|
|||||||
Reference in New Issue
Block a user