royale-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ha...@apache.org
Subject [royale-asjs] 02/14: Filters are not necessarily drop shadows
Date Sun, 02 Sep 2018 08:57:32 GMT
This is an automated email from the ASF dual-hosted git repository.

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

commit aee1fa6c163751c5430928f41a5a33ade1bd3dad
Author: DESKTOP-RH4S838\Yishay <yishayjobs@hotmail.com>
AuthorDate: Wed Jul 11 14:36:50 2018 +0300

    Filters are not necessarily drop shadows
---
 .../Graphics/src/main/royale/org/apache/royale/svg/DropShadowFilter.as  | 2 +-
 .../projects/Graphics/src/main/royale/org/apache/royale/svg/Filter.as   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/frameworks/projects/Graphics/src/main/royale/org/apache/royale/svg/DropShadowFilter.as
b/frameworks/projects/Graphics/src/main/royale/org/apache/royale/svg/DropShadowFilter.as
index f974de4..c10bd49 100644
--- a/frameworks/projects/Graphics/src/main/royale/org/apache/royale/svg/DropShadowFilter.as
+++ b/frameworks/projects/Graphics/src/main/royale/org/apache/royale/svg/DropShadowFilter.as
@@ -124,7 +124,7 @@ package org.apache.royale.svg
 			{
 				COMPILE::JS
 				{
-				var f:Function = c as Function;
+					var f:Function = c as Function;
 					result = new f() as IBead;
 				}
 				COMPILE::SWF
diff --git a/frameworks/projects/Graphics/src/main/royale/org/apache/royale/svg/Filter.as
b/frameworks/projects/Graphics/src/main/royale/org/apache/royale/svg/Filter.as
index cf9f6d5..b349e20 100644
--- a/frameworks/projects/Graphics/src/main/royale/org/apache/royale/svg/Filter.as
+++ b/frameworks/projects/Graphics/src/main/royale/org/apache/royale/svg/Filter.as
@@ -104,7 +104,7 @@ package org.apache.royale.svg
 			var svgElement:Node = host.element as Element;
 			var defs:Element = getChildNode(svgElement, "defs") as Element;
 			_filterElementWrapper = getChildNode(defs, "filter") as Element;
-			filterElementWrapper.id = "myDropShadow" + UIDUtil.createUID();
+			filterElementWrapper.id = "myFilter" + UIDUtil.createUID();
 			filterElementWrapper.setAttribute("width", _width);
 			filterElementWrapper.setAttribute("height", _height);
 			// clean up existing filter


Mime
View raw message