[Libreoffice-commits] online.git: loleaflet/src

Szymon KÅ‚os (via logerrit) logerrit at kemper.freedesktop.org
Wed May 6 13:31:26 UTC 2020


 loleaflet/src/control/Control.MobileWizard.js |    3 +++
 1 file changed, 3 insertions(+)

New commits:
commit d7f66bf318291a7288ce56a413e009cde79fe0d4
Author:     Szymon Kłos <szymon.klos at collabora.com>
AuthorDate: Wed May 6 13:03:35 2020 +0200
Commit:     Szymon Kłos <szymon.klos at collabora.com>
CommitDate: Wed May 6 15:31:07 2020 +0200

    Always show slide sorter above mobile wizard in impress
    
    Bugfix: when menu was opened in impress before
    mobile wizard then slide sorter was missing.
    This patch makes it visible.
    
    Change-Id: Iad5efc156796458402f859e5c3b3245872f33017
    Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93561
    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 fa04d7b77..3f59a0606 100644
--- a/loleaflet/src/control/Control.MobileWizard.js
+++ b/loleaflet/src/control/Control.MobileWizard.js
@@ -327,6 +327,9 @@ L.Control.MobileWizard = L.Control.extend({
 				this._lastSidebarData = dataString;
 			}
 
+			if (this.map.getDocType() === 'presentation')
+				$('#mobile-wizard-header').show();
+
 			this._isActive = true;
 			var currentPath = null;
 			var lastScrollPosition = null;


More information about the Libreoffice-commits mailing list