You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by yi...@apache.org on 2018/09/05 09:21:32 UTC

[royale-asjs] 01/02: ColorMatrixFilterElement now determines the color of the filter instead if masking it. It should probably be renamed to reflect this at some point.

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

yishayw pushed a commit to branch feature/revert-refactor
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git

commit 5becd946d7ce191764c1eff2d3585797beb20794
Author: DESKTOP-RH4S838\Yishay <yi...@hotmail.com>
AuthorDate: Wed Sep 5 12:18:25 2018 +0300

    ColorMatrixFilterElement now determines the color of the filter
    instead if masking it. It should probably be renamed to reflect this at
    some point.
---
 .../src/main/royale/org/apache/royale/svg/ColorMatrixFilterElement.as   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/frameworks/projects/Graphics/src/main/royale/org/apache/royale/svg/ColorMatrixFilterElement.as b/frameworks/projects/Graphics/src/main/royale/org/apache/royale/svg/ColorMatrixFilterElement.as
index 6f2c55f..489b91b 100644
--- a/frameworks/projects/Graphics/src/main/royale/org/apache/royale/svg/ColorMatrixFilterElement.as
+++ b/frameworks/projects/Graphics/src/main/royale/org/apache/royale/svg/ColorMatrixFilterElement.as
@@ -54,7 +54,7 @@ package org.apache.royale.svg
 			COMPILE::JS 
 			{
 				super.build();
-				var matrixValues:String = red + " 0 0 0 0 0 " + green + " 0 0 0 0 0 " + blue + " 0 0 0 0 0 " + opacity + " 0"; 
+				var matrixValues:String =  "0 0 0 0 " + red +  " 0 0 0 0 " + green +  " 0 0 0 0 " + blue + " 0 0 0 " + opacity + " 0";
 				filterElement.setAttribute("values", matrixValues);
 			}
 		}