[Libreoffice-commits] online.git: loleaflet/src

Aron Budea (via logerrit) logerrit at kemper.freedesktop.org
Wed Jun 17 17:41:35 UTC 2020


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

New commits:
commit 0613c93272bff6df16f7bf3727c7180f5bc0844f
Author:     Aron Budea <aron.budea at collabora.com>
AuthorDate: Wed Jun 17 09:12:16 2020 +0200
Commit:     Aron Budea <aron.budea at 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 <jenkinscollaboraoffice at gmail.com>
    Reviewed-by: Aron Budea <aron.budea 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