You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by yi...@apache.org on 2020/11/11 07:15:57 UTC
[royale-asjs] branch develop updated: Naive implementation if
invalidateSkinState
This is an automated email from the ASF dual-hosted git repository.
yishayw 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 e34fbee Naive implementation if invalidateSkinState
new ada8173 Merge branch 'develop' of https://github.com/apache/royale-asjs into develop
e34fbee is described below
commit e34fbee2e44944410fcbbb6e2877879e9c0a2421
Author: Yishay Weiss <yi...@hotmail.com>
AuthorDate: Wed Nov 11 06:56:52 2020 +0000
Naive implementation if invalidateSkinState
---
.../spark/components/supportClasses/SkinnableComponent.as | 10 +++++-----
1 file changed, 5 insertions(+), 5 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 130cbba..4122bcb 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
@@ -243,13 +243,13 @@ public class SkinnableComponent extends UIComponent
*/
public function invalidateSkinState():void
{
- if (GOOG::DEBUG)
- trace("invalidateSkinState not implemented");
+ if (skin)
+ {
+ skin.currentState = getCurrentSkinState();
+ }
}
-
-
- //----------------------------------
+ //----------------------------------
// skin
//----------------------------------