This is an automated email from the ASF dual-hosted git repository. aharui pushed a commit to branch feature/MXRoyale in repository https://gitbox.apache.org/repos/asf/royale-asjs.git
commit 213e2244b4d7a71967214d24674025b8e67a7f0d Author: Alex Harui <[email protected]> AuthorDate: Mon Aug 13 23:28:23 2018 -0700 stop returning 0 as a default. We need some styles to return undefined --- frameworks/projects/MXRoyale/src/main/royale/mx/core/UIComponent.as | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/core/UIComponent.as b/frameworks/projects/MXRoyale/src/main/royale/mx/core/UIComponent.as index a47a151..76d07e1 100644 --- a/frameworks/projects/MXRoyale/src/main/royale/mx/core/UIComponent.as +++ b/frameworks/projects/MXRoyale/src/main/royale/mx/core/UIComponent.as @@ -4338,7 +4338,7 @@ public class UIComponent extends UIBase // trace("getStyle not implemented"); // return 0; var value:* = ValuesManager.valuesImpl.getValue(this,styleProp); - if (!value) value = 0; +// if (!value) value = 0; return value; }
