loleaflet/src/map/handler/Map.BoxZoom.js |    8 --------
 1 file changed, 8 deletions(-)

New commits:
commit aa806f0ec3028494fa87b1fb698009d1dad46458
Author: Pranav Kant <[email protected]>
Date:   Fri Mar 11 11:56:46 2016 +0530

    ccu#1329: This is not a map, this is libreoffice
    
    ... so by selecting and dragging the mouse we do not intend to
    look closer what is there, which is an expected behavior for
    maps, but doesn't fit well for us.
    
    Change-Id: Ib7e838038fff9310e40912f251cb89c7eb0baaee

diff --git a/loleaflet/src/map/handler/Map.BoxZoom.js 
b/loleaflet/src/map/handler/Map.BoxZoom.js
index d94478b..9b4093e 100644
--- a/loleaflet/src/map/handler/Map.BoxZoom.js
+++ b/loleaflet/src/map/handler/Map.BoxZoom.js
@@ -88,14 +88,6 @@ L.Map.BoxZoom = L.Handler.extend({
                this._finish();
 
                if (!this._moved) { return; }
-
-               var bounds = new L.LatLngBounds(
-                       this._map.containerPointToLatLng(this._startPoint),
-                       this._map.containerPointToLatLng(this._point));
-
-               this._map
-                       .fitBounds(bounds)
-                       .fire('boxzoomend', {boxZoomBounds: bounds});
        },
 
        _onKeyDown: function (e) {
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to