loleaflet/src/control/Control.JSDialogBuilder.js |    6 ++++++
 1 file changed, 6 insertions(+)

New commits:
commit 466934a53c24fcf1834b89545f407342c52d1f70
Author:     Dennis Francis <dennis.fran...@collabora.com>
AuthorDate: Sun Mar 22 19:56:22 2020 +0530
Commit:     Andras Timar <andras.ti...@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 <jenkinscollaboraoff...@gmail.com>
    Reviewed-by: Andras Timar <andras.ti...@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');
 
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to