Unconditonally set the framestate focus

This commit is contained in:
Éric Lemoine
2013-10-18 10:03:59 +02:00
parent 08bad9746b
commit 1c890d837e

View File

@@ -706,12 +706,7 @@ ol.Map.prototype.handleMapBrowserEvent = function(mapBrowserEvent) {
// coordinates so interactions cannot be used.
return;
}
if (mapBrowserEvent.type == goog.events.EventType.MOUSEOUT ||
mapBrowserEvent.type == goog.events.EventType.TOUCHEND) {
this.focus_ = null;
} else {
this.focus_ = mapBrowserEvent.getCoordinate();
}
this.focus_ = mapBrowserEvent.getCoordinate();
mapBrowserEvent.frameState = this.frameState_;
var interactions = this.getInteractions();
var interactionsArray = /** @type {Array.<ol.interaction.Interaction>} */