This is an automated email from the ASF dual-hosted git repository.

solomax pushed a commit to branch 4.0.x
in repository https://gitbox.apache.org/repos/asf/openmeetings.git


The following commit(s) were added to refs/heads/4.0.x by this push:
     new a8d8db9  [OPENMEETINGS-1884] text 'stroke border' is transparent by 
default
a8d8db9 is described below

commit a8d8db9bd542a3e67ce2c18c3d87771da4316486
Author: Maxim Solodovnik <[email protected]>
AuthorDate: Mon Aug 27 17:57:27 2018 +0700

    [OPENMEETINGS-1884] text 'stroke border' is transparent by default
---
 .../src/main/java/org/apache/openmeetings/web/room/wb/raw-tool-text.js  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/openmeetings-web/src/main/java/org/apache/openmeetings/web/room/wb/raw-tool-text.js
 
b/openmeetings-web/src/main/java/org/apache/openmeetings/web/room/wb/raw-tool-text.js
index b784405..8fe0724 100644
--- 
a/openmeetings-web/src/main/java/org/apache/openmeetings/web/room/wb/raw-tool-text.js
+++ 
b/openmeetings-web/src/main/java/org/apache/openmeetings/web/room/wb/raw-tool-text.js
@@ -4,6 +4,7 @@ var Text = function(wb, s) {
        text.obj = null;
        text.fabricType = 'i-text';
        text.fill.color = '#000000';
+       text.stroke.enabled = false;
        text.stroke.width = 50; //fontSize
        text.stroke.color = '#000000';
        text.style = {bold: false, italic: false};
@@ -15,7 +16,6 @@ var Text = function(wb, s) {
                        , padding: 7
                        , fill: text.fill.enabled ? text.fill.color : 
'rgba(0,0,0,0)'
                        , stroke: text.stroke.enabled ? text.stroke.color : 
'rgba(0,0,0,0)'
-                       //, strokeWidth: text.stroke.width
                        , fontSize: text.stroke.width
                        , fontFamily: text.fontFamily
                        , opacity: text.opacity

Reply via email to