[Libreoffice-commits] online.git: Branch 'distro/collabora/co-4-2' - loleaflet/src

Aron Budea (via logerrit) logerrit at kemper.freedesktop.org
Thu Jun 18 12:12:44 UTC 2020


 loleaflet/src/control/Control.UIManager.js |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 2b74a3f26140a3ad1826ca26805c3a4aa3cb4f1d
Author:     Aron Budea <aron.budea at collabora.com>
AuthorDate: Wed Jun 17 09:12:16 2020 +0200
Commit:     Andras Timar <andras.timar at collabora.com>
CommitDate: Thu Jun 18 14:12:25 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 <jenkinscollaboraoffice at gmail.com>
    Reviewed-by: Aron Budea <aron.budea at collabora.com>
    (cherry picked from commit a777fcc4d6dd8705c19d4598eda7614ff6c196fa)
    Reviewed-on: https://gerrit.libreoffice.org/c/online/+/96574
    Reviewed-by: Andras Timar <andras.timar at 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());
 		}
 


More information about the Libreoffice-commits mailing list