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

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


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

commit ddfe1a12674fd7727af5f482fb2dc2e9fb57f835
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