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

New commits:
commit 0334c4b04872add86ee5f4526286c231c8bb376c
Author:     gokaysatir <gokaysa...@collabora.com>
AuthorDate: Fri Aug 28 11:17:03 2020 +0300
Commit:     Szymon Kłos <szymon.k...@collabora.com>
CommitDate: Mon Aug 31 13:24:00 2020 +0200

    loleaflet: Tablet notebookbar special case.
    
    Change-Id: I7acad9b8891cedac49f47746a61c8df6f19a1250
    Reviewed-on: https://gerrit.libreoffice.org/c/online/+/101525
    Reviewed-by: Szymon Kłos <szymon.k...@collabora.com>
    Tested-by: Jenkins
    Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoff...@gmail.com>

diff --git a/loleaflet/src/control/Control.UIManager.js 
b/loleaflet/src/control/Control.UIManager.js
index 3da1d6921..a4459e39e 100644
--- a/loleaflet/src/control/Control.UIManager.js
+++ b/loleaflet/src/control/Control.UIManager.js
@@ -114,7 +114,7 @@ L.Control.UIManager = L.Control.extend({
                        this.map.addControl(L.control.presentationBar());
                }
 
-               if (window.mode.isMobile() || window.mode.isTablet()) {
+               if (window.mode.isMobile() || (window.mode.isTablet() && 
!enableNotebookbar)) {
                        this.map.on('updatetoolbarcommandvalues', function() {
                                w2ui['editbar'].refresh();
                        });
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to