You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by ah...@apache.org on 2020/01/22 22:46:21 UTC
[royale-asjs] branch develop updated: emulate skinClass
This is an automated email from the ASF dual-hosted git repository.
aharui pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git
The following commit(s) were added to refs/heads/develop by this push:
new ccb2eb9 emulate skinClass
ccb2eb9 is described below
commit ccb2eb9aa5cfd7e5382eeb1857991e98e2647492
Author: Alex Harui <ah...@apache.org>
AuthorDate: Wed Jan 22 14:45:57 2020 -0800
emulate skinClass
---
.../royale/spark/components/supportClasses/SkinnableComponent.as | 9 ++-------
1 file changed, 2 insertions(+), 7 deletions(-)
diff --git a/frameworks/projects/SparkRoyale/src/main/royale/spark/components/supportClasses/SkinnableComponent.as b/frameworks/projects/SparkRoyale/src/main/royale/spark/components/supportClasses/SkinnableComponent.as
index dcbcfa2..4ac1e10 100644
--- a/frameworks/projects/SparkRoyale/src/main/royale/spark/components/supportClasses/SkinnableComponent.as
+++ b/frameworks/projects/SparkRoyale/src/main/royale/spark/components/supportClasses/SkinnableComponent.as
@@ -196,10 +196,7 @@ public class SkinnableComponent extends UIComponent
*/
public function get skinClass():Class
{
- // TODO
- if (GOOG::DEBUG)
- trace("skinClass not implemented");
- return null;
+ return getStyle("skinClass");
}
/**
@@ -207,9 +204,7 @@ public class SkinnableComponent extends UIComponent
*/
public function set skinClass(value:Class):void
{
- // TODO
- if (GOOG::DEBUG)
- trace("skinClass not implemented");
+ setStyle("skinClass", value);
}
//----------------------------------