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

New commits:
commit aa5749c507e773dcd316bfc78b09000152f33f76
Author:     Aron Budea <aron.bu...@collabora.com>
AuthorDate: Sun May 10 06:58:57 2020 +0200
Commit:     Andras Timar <andras.ti...@collabora.com>
CommitDate: Sun May 10 22:14:02 2020 +0200

    loleaflet: Show navigation controls on sheets bar on tablets
    
    regression from 1d1651795c73a7f2b73bdb17b7e2926047ffcbee
    
    Change-Id: Ifc7589a2bbabb99021ad98ed85216f1d22b5e641
    Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93902
    Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoff...@gmail.com>
    Reviewed-by: Andras Timar <andras.ti...@collabora.com>
    (cherry picked from commit 26911310406aefa36c9c80f65f6833feaf2c5645)
    Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93795

diff --git a/loleaflet/src/control/Control.UIManager.js 
b/loleaflet/src/control/Control.UIManager.js
index d613927a9..34287ba3a 100644
--- a/loleaflet/src/control/Control.UIManager.js
+++ b/loleaflet/src/control/Control.UIManager.js
@@ -84,7 +84,7 @@ L.Control.UIManager = L.Control.extend({
                }
 
                if (docType === 'spreadsheet') {
-                       
this.map.addControl(L.control.sheetsBar({shownavigation: isDesktop}));
+                       
this.map.addControl(L.control.sheetsBar({shownavigation: isDesktop || 
window.mode.isTablet()}));
                        this.map.addControl(L.control.formulaBar());
                }
 
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to