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

Pranav Kant pranavk at collabora.co.uk
Thu Feb 15 06:26:29 UTC 2018


 loleaflet/dist/toolbar/toolbar.js |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit c470116012eaf1ee47c4dc77c92eca125dd70577
Author: Pranav Kant <pranavk at collabora.co.uk>
Date:   Thu Feb 15 11:55:40 2018 +0530

    Fix some buttons doesn't show up in mobile mode
    
    Change-Id: I25ceecc56e2dae9a0b31e038412c7b74447c391f

diff --git a/loleaflet/dist/toolbar/toolbar.js b/loleaflet/dist/toolbar/toolbar.js
index 5683c6ed..b504ebc5 100644
--- a/loleaflet/dist/toolbar/toolbar.js
+++ b/loleaflet/dist/toolbar/toolbar.js
@@ -122,6 +122,8 @@ function resizeToolbar() {
 		_unmobilify();
 	}
 
+	toolbarUp.refresh();
+	toolbarUpMore.refresh();
 	// move items from toolbar-up-more -> toolbar-up
 	while ($('#toolbar-up')[0].scrollWidth <= $(window).width()) {
 		var item = toolbarUpMore.items[0];


More information about the Libreoffice-commits mailing list