loleaflet/src/layer/AnnotationManager.js |   13 -------------
 1 file changed, 13 deletions(-)

New commits:
commit 0998cabbe758a9b2a43d34e1c45a506080c12406
Author:     Tor Lillqvist <t...@collabora.com>
AuthorDate: Wed Nov 28 23:13:54 2018 +0200
Commit:     Tor Lillqvist <t...@collabora.com>
CommitDate: Wed Nov 28 23:13:54 2018 +0200

    Fix mis-merge (?), remove duplicated function definition
    
    Change-Id: I7652515241f156d1722d2f626ec627d166d7b4ca

diff --git a/loleaflet/src/layer/AnnotationManager.js 
b/loleaflet/src/layer/AnnotationManager.js
index a410598de..206f7ae71 100644
--- a/loleaflet/src/layer/AnnotationManager.js
+++ b/loleaflet/src/layer/AnnotationManager.js
@@ -472,19 +472,6 @@ L.AnnotationManager = L.Class.extend({
 
        },
 
-       layout: function (zoom) {
-               if (zoom)
-                       this.doLayout(zoom);
-               else if (!this._layoutTimer) {
-                       var me = this;
-                       me._layoutTimer = setTimeout(function() {
-                               delete me._layoutTimer;
-                               me.doLayout(zoom);
-                       }, 250 /* ms */);
-               } // else - avoid excessive re-layout
-
-       },
-
        add: function (comment) {
                var annotation = 
L.annotation(this._map._docLayer._twipsToLatLng(comment.anchorPos.getTopRight()),
 comment,
                        comment.id === 'new' ? {noMenu: true} : 
{}).addTo(this._map);
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to