loleaflet/src/control/Control.MobileWizard.js |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

New commits:
commit e71972bef1495c5299130caa12bc82f33349fa0c
Author:     Pedro Pinto Silva <pedro.si...@collabora.com>
AuthorDate: Wed Feb 12 13:46:54 2020 +0100
Commit:     Pedro Pinto da Silva <pedro.si...@collabora.com>
CommitDate: Wed Feb 12 13:48:51 2020 +0100

    Mobile: MobileWizard: swipe/scroll indicator: Avoid showing indicator when 
in prsence of window.mobileMenuWizard
    
    Change-Id: I2430f8c3732d42b24abc7d2e9b83d71659260573
    Reviewed-on: https://gerrit.libreoffice.org/c/online/+/88529
    Tested-by: Pedro Pinto da Silva <pedro.si...@collabora.com>
    Reviewed-by: Pedro Pinto da Silva <pedro.si...@collabora.com>

diff --git a/loleaflet/src/control/Control.MobileWizard.js 
b/loleaflet/src/control/Control.MobileWizard.js
index 1cc8dc2b7..8c90f86f7 100644
--- a/loleaflet/src/control/Control.MobileWizard.js
+++ b/loleaflet/src/control/Control.MobileWizard.js
@@ -60,8 +60,7 @@ L.Control.MobileWizard = L.Control.extend({
                var docType = this._map.getDocType();
                //console.log('ContentsLength: ' + ContentsLength + ' | 
docType: ' + docType + '$(#mobile-wizard-content).scrollTop();'  + 
'this._isTabMode: ' + this._isTabMode + ' | _tabs: ' + this._tabs);
                var maxScrolled = 52;
-               if (ContentsLength > 5 || this._tabs) {
-                       console.log('INDICATOR');
+               if ((ContentsLength > 5 || this._tabs) && 
!window.mobileMenuWizard) {
                        $('#mobile-wizard-content').append('<div 
id="mobile-wizard-scroll-indicator" style="width: 100%;height: 0px;position: 
fixed;z-index: 2;bottom: -7px;box-shadow: 0 -8px 20px 4px #0b87e770, 0 1px 10px 
6px #0b87e7;"></div>');
                }
                if (docType == 'spreadsheet')
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to