loleaflet/src/layer/tile/GridLayer.js | 1 + loleaflet/src/layer/tile/TileLayer.js | 5 ++--- 2 files changed, 3 insertions(+), 3 deletions(-)
New commits: commit 0f9e24f77d038f3e99465485a3c4ad2605f6d604 Author: Jan Holesovsky <ke...@collabora.com> Date: Sun May 31 00:38:22 2015 +0200 Disable invalidation for the moment, breaks slides. diff --git a/loleaflet/src/layer/tile/TileLayer.js b/loleaflet/src/layer/tile/TileLayer.js index 9feb8f1..b12dbe2 100644 --- a/loleaflet/src/layer/tile/TileLayer.js +++ b/loleaflet/src/layer/tile/TileLayer.js @@ -139,7 +139,7 @@ L.TileLayer = L.GridLayer.extend({ textMsg = String.fromCharCode.apply(null, bytes.subarray(0, index + 1)); } - if (textMsg.startsWith('cursorvisible')) { + /*if (textMsg.startsWith('cursorvisible')) { var command = textMsg.match('cursorvisible: true'); this._cursorVisible = command == undefined ? false : true; this._onUpdateCursor(); @@ -177,7 +177,7 @@ L.TileLayer = L.GridLayer.extend({ } } } - else if (textMsg.startsWith('status:')) { + else*/ if (textMsg.startsWith('status:')) { var command = this._parseServerCmd(textMsg); if (command.width && command.height && this._documentInfo !== textMsg) { this._docWidthTwips = command.width; @@ -211,7 +211,6 @@ L.TileLayer = L.GridLayer.extend({ coords.part = command.part; var data = bytes.subarray(index + 1); - var key = this._tileCoordsToKey(coords); var tile = this._tiles[key]; if (tile) { commit 6b743655ccacfc22f415a2c9f916ea1cac5bf629 Author: Jan Holesovsky <ke...@collabora.com> Date: Sun May 31 00:37:20 2015 +0200 Small addition. diff --git a/loleaflet/src/layer/tile/GridLayer.js b/loleaflet/src/layer/tile/GridLayer.js index 46fc6e7..e787aa5 100644 --- a/loleaflet/src/layer/tile/GridLayer.js +++ b/loleaflet/src/layer/tile/GridLayer.js @@ -682,6 +682,7 @@ L.GridLayer = L.Layer.extend({ this._wrapX ? L.Util.wrapNum(coords.x, this._wrapX) : coords.x, this._wrapY ? L.Util.wrapNum(coords.y, this._wrapY) : coords.y); newCoords.z = coords.z; + newCoords.part = coords.part; return newCoords; }, _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits