loleaflet/src/layer/vector/Renderer.js |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 0a0e1f7e28bcaae0f0fe058c9aa395e3cb581aea
Author:     Dennis Francis <dennis.fran...@collabora.com>
AuthorDate: Tue Jul 21 22:23:44 2020 +0530
Commit:     Dennis Francis <dennis.fran...@collabora.com>
CommitDate: Fri Jul 24 15:14:15 2020 +0200

    split-panes: disable zoom-animation for splitter controls
    
    For the zoom-animation of overlay elements the algorithm does not seem
    to use the correct start/end positions for building the trajectory. In
    particular the splitter control animation looks really awkward. Lets
    disable this for now till the animation issue is fixed.
    
    Change-Id: Ic67ccc3df1172853e4b946795dc6c8becb3ad00b
    Reviewed-on: https://gerrit.libreoffice.org/c/online/+/99358
    Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoff...@gmail.com>
    Tested-by: Jenkins
    Reviewed-by: Dennis Francis <dennis.fran...@collabora.com>

diff --git a/loleaflet/src/layer/vector/Renderer.js 
b/loleaflet/src/layer/vector/Renderer.js
index 85ab7bccb..a62b8e1d9 100644
--- a/loleaflet/src/layer/vector/Renderer.js
+++ b/loleaflet/src/layer/vector/Renderer.js
@@ -26,7 +26,7 @@ L.Renderer = L.Layer.extend({
                if (!this._container) {
                        this._initContainer(); // defined by renderer 
implementations
 
-                       if (this._zoomAnimated) {
+                       if (this._zoomAnimated && this.rendererId !== 'fixed') {
                                L.DomUtil.addClass(this._container, 
'leaflet-zoom-animated');
                        }
                }
@@ -49,7 +49,7 @@ L.Renderer = L.Layer.extend({
                var events = {
                        moveend: this._update
                };
-               if (this._zoomAnimated) {
+               if (this._zoomAnimated && this.rendererId !== 'fixed') {
                        events.zoomanim = this._animateZoom;
                }
                return events;
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to