diff options
author | Dennis Francis <dennis.francis@collabora.com> | 2020-03-22 19:56:22 +0530 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2020-03-24 23:54:21 +0100 |
commit | c77b60637a3cba1aaf0973c17cb44c23d6efece3 (patch) | |
tree | bfed17d34f6fc859e934bf84e81b6e42f6faa3b9 | |
parent | 1f26c54fd7b3a5989942bf74f5dea79d36041ec0 (diff) |
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@gmail.com>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
-rw-r--r-- | loleaflet/src/control/Control.JSDialogBuilder.js | 6 |
1 files changed, 6 insertions, 0 deletions
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'); |