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
The following commit(s) were added to refs/heads/feature/revert-refactor by this push: new f28dca9 Filters are not necessarily drop shadows f28dca9 is described below commit f28dca9fbd143ce2eddfd034629f96a2bf092660 Author: DESKTOP-RH4S838\Yishay <yishayj...@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 3aa30b2..474a33d 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 @@ -81,7 +81,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