You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by ha...@apache.org on 2018/09/04 10:58:37 UTC

[royale-asjs] branch feature/new_merge updated: Fix color matrix. RGBA values were mismatched

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

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


The following commit(s) were added to refs/heads/feature/new_merge by this push:
     new 062d059  Fix color matrix. RGBA values were mismatched
062d059 is described below

commit 062d059dc49dc7a1f57f5b6eb8c6efa474a64e34
Author: DESKTOP-RH4S838\Yishay <yi...@hotmail.com>
AuthorDate: Tue Sep 4 12:18:26 2018 +0300

    Fix color matrix. RGBA values were mismatched
---
 .../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 8e3a1f1..6f2c55f 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 = "0 0 0 0 " + red + " 0 0 0 0 " + green + " 0 0 0 0 " + blue + " 0 0 0 " + opacity + " 0";
+				var matrixValues:String = red + " 0 0 0 0 0 " + green + " 0 0 0 0 0 " + blue + " 0 0 0 0 0 " + opacity + " 0"; 
 				filterElement.setAttribute("values", matrixValues);
 			}
 		}