[Libreoffice-commits] online.git: loleaflet/main.js
Henry Castro
hcastro at collabora.com
Mon Apr 16 21:33:33 UTC 2018
loleaflet/main.js | 1 +
1 file changed, 1 insertion(+)
New commits:
commit dfab8731a9c02233d02f5ec723107a85dbdae2c3
Author: Henry Castro <hcastro at collabora.com>
Date: Mon Apr 16 17:17:08 2018 -0400
loleflet: disable the document is automatically zoomed ...
so that the width fits the viewing area
Change-Id: If0f7234429130aed47dbc9156fde2e125680638f
diff --git a/loleaflet/main.js b/loleaflet/main.js
index 0438a818e..73527b2e5 100644
--- a/loleaflet/main.js
+++ b/loleaflet/main.js
@@ -114,6 +114,7 @@ var map = L.map('map', {
wopiSrc: wopiSrc,
notWopiButIframe: notWopiButIframe,
alwaysActive: alwaysActive,
+ autoFitWidth: false,
idleTimeoutSecs: idleTimeoutSecs, // Dim when user is idle.
outOfFocusTimeoutSecs: outOfFocusTimeoutSecs // Dim after switching tabs.
});
More information about the Libreoffice-commits
mailing list