loleaflet/src/control/Control.MobileWizard.js |   11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

New commits:
commit d8c884f95afce9b5496e70e75a5fdd4625058652
Author:     Szymon Kłos <szymon.k...@collabora.com>
AuthorDate: Wed Jul 8 11:29:24 2020 +0200
Commit:     Szymon Kłos <szymon.k...@collabora.com>
CommitDate: Wed Jul 8 14:30:31 2020 +0200

    mobile wizard: fix exploring menu levels
    
    After jquery libraries update some nodes
    were not hidden. Using animation fixes the issue.
    Also hide effects helper container which added
    empty gaps between entries.
    
    Change-Id: I36090a48d60401c9e6de4711601f357367239a19
    Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98327
    Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoff...@gmail.com>
    Reviewed-by: Szymon Kłos <szymon.k...@collabora.com>

diff --git a/loleaflet/src/control/Control.MobileWizard.js 
b/loleaflet/src/control/Control.MobileWizard.js
index c0cd3b985..17e366ae6 100644
--- a/loleaflet/src/control/Control.MobileWizard.js
+++ b/loleaflet/src/control/Control.MobileWizard.js
@@ -181,7 +181,16 @@ L.Control.MobileWizard = L.Control.extend({
                else
                        $(titles).hide();
 
-               $(contentToShow).siblings().hide();
+               $('#mobile-wizard .ui-effects-placeholder').hide();
+
+               var nodesToHide = $(contentToShow).siblings();
+
+               var duration = 10;
+               if (animate)
+                       $(nodesToHide).hide('slide', { direction: 'left' }, 
duration);
+               else
+                       $(nodesToHide).hide();
+
                $('#mobile-wizard.funcwizard 
div#mobile-wizard-content').removeClass('hideHelpBG');
                $('#mobile-wizard.funcwizard 
div#mobile-wizard-content').addClass('showHelpBG');
 
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to