[Libreoffice-commits] online.git: loleaflet/src
Michael Meeks (via logerrit)
logerrit at kemper.freedesktop.org
Tue Dec 3 17:48:25 UTC 2019
loleaflet/src/control/Control.Toolbar.js | 10 +---------
1 file changed, 1 insertion(+), 9 deletions(-)
New commits:
commit 74af92df9d136e950e8a7ddef20fa8636f1e331c
Author: Michael Meeks <michael.meeks at collabora.com>
AuthorDate: Tue Dec 3 17:46:30 2019 +0000
Commit: Michael Meeks <michael.meeks at collabora.com>
CommitDate: Tue Dec 3 17:46:59 2019 +0000
restore all zoom levels to the calc zoom pop-up.
Change-Id: Ib524d89c2059e23f5e42580141ee54b5fead0a33
diff --git a/loleaflet/src/control/Control.Toolbar.js b/loleaflet/src/control/Control.Toolbar.js
index 4ae1808d8..0426015c2 100644
--- a/loleaflet/src/control/Control.Toolbar.js
+++ b/loleaflet/src/control/Control.Toolbar.js
@@ -1451,17 +1451,9 @@ function onDocLayerInit() {
toolbarUp.remove('styles');
}
- if (statusbar) {
+ if (statusbar)
statusbar.remove('prev', 'next', 'prevnextbreak');
- statusbar.set('zoom', {
- items: [
- { id: 'zoom100', text: '100%', scale: 10},
- { id: 'zoom200', text: '200%', scale: 14}
- ]
- });
- }
-
if (!_inMobileMode()) {
statusbar.insert('left', [
{type: 'break', id: 'break1'},
More information about the Libreoffice-commits
mailing list