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>
This commit is contained in:
Dennis Francis 2020-03-22 19:56:22 +05:30 committed by Andras Timar
parent 16fbe5441d
commit 466934a53c

View file

@ -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');