[Libreoffice-commits] online.git: loleaflet/src
Dennis Francis (via logerrit)
logerrit at kemper.freedesktop.org
Mon Mar 23 11:52:25 UTC 2020
loleaflet/src/control/Control.JSDialogBuilder.js | 6 ++++++
1 file changed, 6 insertions(+)
New commits:
commit 466934a53c24fcf1834b89545f407342c52d1f70
Author: Dennis Francis <dennis.francis at collabora.com>
AuthorDate: Sun Mar 22 19:56:22 2020 +0530
Commit: Andras Timar <andras.timar at collabora.com>
CommitDate: Mon Mar 23 12:52:07 2020 +0100
loleaflet: handle all transparency fill types
Also handle 'NONE' and 'SOLID' style types now emitted as part of
.uno:FillFloatTransparence statechange message.
Without this the mobile wizard does not show the transparency fill
types correctly for these cases.
Change-Id: Iffecc6dbfbac097310c9c5f53ba3b4dfe39e4756
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/90879
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice at gmail.com>
Reviewed-by: Andras Timar <andras.timar at collabora.com>
diff --git a/loleaflet/src/control/Control.JSDialogBuilder.js b/loleaflet/src/control/Control.JSDialogBuilder.js
index cb0b607ee..6a8a3d9be 100644
--- a/loleaflet/src/control/Control.JSDialogBuilder.js
+++ b/loleaflet/src/control/Control.JSDialogBuilder.js
@@ -147,6 +147,12 @@ L.Control.JSDialogBuilder = L.Control.extend({
_gradientStyleToLabel: function(state) {
switch (state) {
+ case 'NONE':
+ return _('None');
+
+ case 'SOLID':
+ return _('Solid');
+
case 'LINEAR':
return _('Linear');
More information about the Libreoffice-commits
mailing list