loleaflet/src/layer/AnnotationManager.js | 4 ++++ 1 file changed, 4 insertions(+)
New commits: commit e713b843a0c9adef78051a7598e88d41b2881957 Author: Pranav Kant <pran...@collabora.co.uk> Date: Tue May 2 14:16:50 2017 +0530 lolefalet: Animate all annotation elements, not just selected Change-Id: I5b597b057e5f26e79b4db7aa3b4b5733c34914cf diff --git a/loleaflet/src/layer/AnnotationManager.js b/loleaflet/src/layer/AnnotationManager.js index 01359b0b..3ef0dc8a 100644 --- a/loleaflet/src/layer/AnnotationManager.js +++ b/loleaflet/src/layer/AnnotationManager.js @@ -247,6 +247,7 @@ L.AnnotationManager = L.Class.extend({ if (commentThread.length <= 0) return; + (new L.PosAnimation()).run(commentThread[0]._container, this._map.latLngToLayerPoint(latLng)); commentThread[0].setLatLng(latLng); var bounds = commentThread[0].getBounds(); var idx = 1; @@ -268,6 +269,7 @@ L.AnnotationManager = L.Class.extend({ idx = 0; for (idx = 0; idx < commentThread.length; ++idx) { latLng = this._map.layerPointToLatLng(pt); + (new L.PosAnimation()).run(commentThread[idx]._container, this._map.latLngToLayerPoint(latLng)); commentThread[idx].setLatLng(latLng); commentThread[idx].show(); @@ -280,6 +282,7 @@ L.AnnotationManager = L.Class.extend({ if (commentThread.length <= 0) return; + (new L.PosAnimation()).run(commentThread[0]._container, this._map.latLngToLayerPoint(latLng)); commentThread[0].setLatLng(latLng); var bounds = commentThread[0].getBounds(); var idx = 1; @@ -301,6 +304,7 @@ L.AnnotationManager = L.Class.extend({ idx = 0; for (idx = 0; idx < commentThread.length; ++idx) { latLng = this._map.layerPointToLatLng(pt); + (new L.PosAnimation()).run(commentThread[idx]._container, this._map.latLngToLayerPoint(latLng)); commentThread[idx].setLatLng(latLng); commentThread[idx].show(); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits