loleaflet/src/map/Map.js | 4 ++++ 1 file changed, 4 insertions(+) New commits: commit 62d9579dceff72ef0a7bd63abaf4db0d18e6f1d5 Author: Muhammet Kara <muhammet.k...@collabora.com> AuthorDate: Mon Jul 29 19:50:34 2019 +0300 Commit: Muhammet Kara <muhammet.k...@collabora.com> CommitDate: Wed Sep 25 13:42:14 2019 +0300
Notify core for isMobile() Requires the commit 8f1d32d96f7493dc4f36949e53cfbc45d317c449 on core Change-Id: I08e7740db9dd489efa78c91add92b8a556dde480 diff --git a/loleaflet/src/map/Map.js b/loleaflet/src/map/Map.js index d5db0a0dd..296e9071c 100644 --- a/loleaflet/src/map/Map.js +++ b/loleaflet/src/map/Map.js @@ -203,6 +203,10 @@ L.Map = L.Evented.extend({ var interactiveRuler = this._permission === 'edit' ? true : false; L.control.ruler({position:'topleft', interactive:interactiveRuler}).addTo(this); } + if (L.Browser.mobile) + { + this._socket.sendMessage('uno .uno:LOKSetMobile'); + } }); this.on('updatetoolbarcommandvalues', function(e) { if (this.initComplete) { _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits