loleaflet/src/control/Control.UIManager.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 0613c93272bff6df16f7bf3727c7180f5bc0844f Author: Aron Budea <aron.bu...@collabora.com> AuthorDate: Wed Jun 17 09:12:16 2020 +0200 Commit: Aron Budea <aron.bu...@collabora.com> CommitDate: Wed Jun 17 19:41:16 2020 +0200 loleaflet: Show presentation controls on tablets regression from an unknown commit Change-Id: Iad36563c9a6c7588f12610ccd2fe18eef38628bb Reviewed-on: https://gerrit.libreoffice.org/c/online/+/96514 Tested-by: Jenkins Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoff...@gmail.com> Reviewed-by: Aron Budea <aron.bu...@collabora.com> diff --git a/loleaflet/src/control/Control.UIManager.js b/loleaflet/src/control/Control.UIManager.js index 9c1b3e7f6..5cb657a25 100644 --- a/loleaflet/src/control/Control.UIManager.js +++ b/loleaflet/src/control/Control.UIManager.js @@ -90,7 +90,7 @@ L.Control.UIManager = L.Control.extend({ this.map.addControl(L.control.formulaBar()); } - if (isDesktop && docType === 'presentation') { + if (docType === 'presentation' && (isDesktop || window.mode.isTablet())) { this.map.addControl(L.control.presentationBar()); } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits