From 1c890d837eb6b34e981179213ce54ba5a815fe4a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Lemoine?= Date: Fri, 18 Oct 2013 10:03:59 +0200 Subject: [PATCH] Unconditonally set the framestate focus --- src/ol/map.js | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/ol/map.js b/src/ol/map.js index f791194f97..be7e9bc8c9 100644 --- a/src/ol/map.js +++ b/src/ol/map.js @@ -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.} */