[Libreoffice-commits] online.git: loleaflet/src
Szymon KÅos (via logerrit)
logerrit at kemper.freedesktop.org
Wed Jul 8 12:30:50 UTC 2020
loleaflet/src/control/Control.MobileWizard.js | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
New commits:
commit d8c884f95afce9b5496e70e75a5fdd4625058652
Author: Szymon Kłos <szymon.klos at collabora.com>
AuthorDate: Wed Jul 8 11:29:24 2020 +0200
Commit: Szymon Kłos <szymon.klos at 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 <jenkinscollaboraoffice at gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos at 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');
More information about the Libreoffice-commits
mailing list