loleaflet/src/map/Map.js |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 50cc60e6f6ae1f151473c81feb692ac631f34d1d
Author: Ashod Nakashian <ashod.nakash...@collabora.co.uk>
Date:   Sun May 8 20:23:46 2016 -0400

    loleaflet: invalidate on activation
    
    Invalidation for spreadsheet and presentation
    are part-sensitive. The handler will take
    care of this distinction and construct the correct
    invalidate command.
    
    Also, set active flag before firing invalidation.
    
    Change-Id: I9e897750e0768b54cc1521d47d69b5dbb1a36244
    Reviewed-on: https://gerrit.libreoffice.org/24779
    Reviewed-by: Ashod Nakashian <ashnak...@gmail.com>
    Tested-by: Ashod Nakashian <ashnak...@gmail.com>

diff --git a/loleaflet/src/map/Map.js b/loleaflet/src/map/Map.js
index c90035e..8b3cb77 100644
--- a/loleaflet/src/map/Map.js
+++ b/loleaflet/src/map/Map.js
@@ -699,8 +699,8 @@ L.Map = L.Evented.extend({
 
                        // Only activate when we are connected.
                        if (this._socket.connected()) {
-                               this._docLayer._onMessage('invalidatetiles: 
part=0 x=0 y=0 width=2147483647 height=2147483647', null);
                                this._active = true;
+                               this._docLayer._onMessage('invalidatetiles: 
EMPTY', null);
 
                                if (vex.dialogID > 0) {
                                        var id = vex.dialogID;
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to