[Libreoffice-commits] online.git: loleaflet/src
Tamás Zolnai (via logerrit)
logerrit at kemper.freedesktop.org
Tue Feb 18 10:29:48 UTC 2020
loleaflet/src/control/Control.MobileWizard.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit a043f549e11b58e313ff4c43fd5d278b7d3c933f
Author: Tamás Zolnai <tamas.zolnai at collabora.com>
AuthorDate: Mon Feb 17 17:58:29 2020 +0100
Commit: Tamás Zolnai <tamas.zolnai at collabora.com>
CommitDate: Tue Feb 18 11:29:30 2020 +0100
mobile-wizard: Hide beginarrowstyle and endarrowstyle items.
For closed shapes these items do nothing. These items have
an effect on lines, curves, open polygons, etc, but the insertion of
these items are not supported by LO online now.
Using these items also makes mobile wizard to get into a wrong
state when trying to select an item or trying to get back with
the back button.
Change-Id: I134741de675fe02112ef93f0c4dec957750adfff
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/88876
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice at gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai at collabora.com>
diff --git a/loleaflet/src/control/Control.MobileWizard.js b/loleaflet/src/control/Control.MobileWizard.js
index 1dcf8a31b..cc387cd5d 100644
--- a/loleaflet/src/control/Control.MobileWizard.js
+++ b/loleaflet/src/control/Control.MobileWizard.js
@@ -359,7 +359,7 @@ L.Control.MobileWizard = L.Control.extend({
deck.children[textIdx].children[0].children = moveContent.concat(deck.children[textIdx].children[0].children);
deck.children.splice(stylesIdx, 1); //remove the styles property
}
- this._removeItems(deck, ['cellbordertype', 'borderlinestyle', 'borderlinecolor', 'editcontour', 'spacingbar', 'linespacing', 'stylenew']);
+ this._removeItems(deck, ['cellbordertype', 'borderlinestyle', 'borderlinecolor', 'editcontour', 'spacingbar', 'linespacing', 'stylenew', 'beginarrowstyle', 'endarrowstyle']);
}
},
More information about the Libreoffice-commits
mailing list