[Libreoffice-commits] online.git: loleaflet/src
Szymon Kłos (via logerrit)
logerrit at kemper.freedesktop.org
Thu Nov 28 09:48:15 UTC 2019
loleaflet/src/control/Control.JSDialogBuilder.js | 10 ++++++++++
1 file changed, 10 insertions(+)
New commits:
commit 6b50a5e41f1e9dc09930bd2443f839f9ab221492
Author: Szymon Kłos <szymon.klos at collabora.com>
AuthorDate: Thu Nov 28 10:47:51 2019 +0100
Commit: Szymon Kłos <szymon.klos at collabora.com>
CommitDate: Thu Nov 28 10:47:51 2019 +0100
jsdialog: handle transparency in graphic context
Change-Id: I46e0575c18f0201995ea3138cab73e083287bbc6
diff --git a/loleaflet/src/control/Control.JSDialogBuilder.js b/loleaflet/src/control/Control.JSDialogBuilder.js
index f7277bff5..158c209e5 100644
--- a/loleaflet/src/control/Control.JSDialogBuilder.js
+++ b/loleaflet/src/control/Control.JSDialogBuilder.js
@@ -551,6 +551,9 @@ L.Control.JSDialogBuilder = L.Control.extend({
case 'setcontrast':
return '.uno:GrafContrast';
+ case 'setgraphtransparency':
+ return '.uno:GrafTransparence';
+
case 'setred':
return '.uno:GrafRed';
@@ -745,6 +748,13 @@ L.Control.JSDialogBuilder = L.Control.extend({
}
break;
+ case 'setgraphtransparency':
+ state = items.getItemValue('.uno:GrafTransparence');
+ if (state) {
+ return state.replace(',', '.');
+ }
+ break;
+
case 'setred':
state = items.getItemValue('.uno:GrafRed');
if (state) {
More information about the Libreoffice-commits
mailing list