flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bigosma...@apache.org
Subject git commit: [flex-sdk] [refs/heads/release4.14.0] - fixes one more mustella test
Date Wed, 31 Dec 2014 23:09:50 GMT
Repository: flex-sdk
Updated Branches:
  refs/heads/release4.14.0 43562e93d -> bf254f19e


fixes one more mustella test


Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/bf254f19
Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/bf254f19
Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/bf254f19

Branch: refs/heads/release4.14.0
Commit: bf254f19e2582ea4608dc5262f69a2012e6f8877
Parents: 43562e9
Author: OmPrakash Muppirala <bigosmallm@gmail.com>
Authored: Wed Dec 31 15:08:52 2014 -0800
Committer: OmPrakash Muppirala <bigosmallm@gmail.com>
Committed: Wed Dec 31 15:08:52 2014 -0800

----------------------------------------------------------------------
 .../mobiletheme/src/spark/skins/mobile/BusyIndicatorSkin.as  | 8 ++++++++
 1 file changed, 8 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/bf254f19/frameworks/projects/mobiletheme/src/spark/skins/mobile/BusyIndicatorSkin.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/mobiletheme/src/spark/skins/mobile/BusyIndicatorSkin.as b/frameworks/projects/mobiletheme/src/spark/skins/mobile/BusyIndicatorSkin.as
index 4d553ba..130ac97 100644
--- a/frameworks/projects/mobiletheme/src/spark/skins/mobile/BusyIndicatorSkin.as
+++ b/frameworks/projects/mobiletheme/src/spark/skins/mobile/BusyIndicatorSkin.as
@@ -177,6 +177,12 @@ package spark.skins.mobile
 			}
 		}
 		
+		override protected function measure():void
+		{
+			measuredHeight = hostComponent.height;
+			measuredWidth = hostComponent.width;
+		}
+		
 		override protected function commitCurrentState():void
 		{
 			super.commitCurrentState();
@@ -188,6 +194,8 @@ package spark.skins.mobile
 			{
 				stopRotation();
 			}
+			invalidateSize();
+			invalidateDisplayList();
 		}
 		
 		/**


Mime
View raw message