[Libreoffice-commits] online.git: Branch 'distro/collabora/co-4-2-1' - loleaflet/src
Aron Budea (via logerrit)
logerrit at kemper.freedesktop.org
Thu Mar 26 12:16:03 UTC 2020
loleaflet/src/control/Control.PartsPreview.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 4a95d4fcf015f4f63cba34b6f6af1cf0345c8c33
Author: Aron Budea <aron.budea at collabora.com>
AuthorDate: Thu Mar 26 12:46:25 2020 +0100
Commit: Andras Timar <andras.timar at collabora.com>
CommitDate: Thu Mar 26 13:15:45 2020 +0100
loleaflet: Wrong previews after reordering slides
While the original this.options was undefined, replacing it causes
a regression.
This commit partially reverts e82878d45b96d478ecdf6547fae42fe3a6dd7f26.
Change-Id: I92a4338ca3bb04ed1e36664b2eaed4b7a23c7183
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/91097
Tested-by: Aron Budea <aron.budea at collabora.com>
Reviewed-by: Aron Budea <aron.budea at collabora.com>
(cherry picked from commit 5bb2840854bce28f07925d6bc2ee618897600048)
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/91112
Tested-by: Andras Timar <andras.timar at collabora.com>
Reviewed-by: Andras Timar <andras.timar at collabora.com>
diff --git a/loleaflet/src/control/Control.PartsPreview.js b/loleaflet/src/control/Control.PartsPreview.js
index 6a40e9d02..c6cd021fb 100644
--- a/loleaflet/src/control/Control.PartsPreview.js
+++ b/loleaflet/src/control/Control.PartsPreview.js
@@ -496,7 +496,7 @@ L.Control.PartsPreview = L.Control.extend({
var that = this.partsPreview;
setTimeout(function () {
for (var i = 0; i < that._previewTiles.length; ++i) {
- that._map.getPreview(i, that.options.maxWidth, that.options.maxHeight, {autoUpdate: that.options.autoUpdate, broadcast: true});
+ that._map.getPreview(i, this.options.maxWidth, this.options.maxHeight, {autoUpdate: that.options.autoUpdate, broadcast: true});
}
}, 1000);
}
More information about the Libreoffice-commits
mailing list