flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aha...@apache.org
Subject svn commit: r1441562 - /flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/html/staticControls/Button.as
Date Fri, 01 Feb 2013 18:08:41 GMT
Author: aharui
Date: Fri Feb  1 18:08:41 2013
New Revision: 1441562

URL: http://svn.apache.org/viewvc?rev=1441562&view=rev
Log:
Start buttons off at 0,0 so NaN doesn't get in the way.

Modified:
    flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/html/staticControls/Button.as

Modified: flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/html/staticControls/Button.as
URL: http://svn.apache.org/viewvc/flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/html/staticControls/Button.as?rev=1441562&r1=1441561&r2=1441562&view=diff
==============================================================================
--- flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/html/staticControls/Button.as
(original)
+++ flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/html/staticControls/Button.as
Fri Feb  1 18:08:41 2013
@@ -37,7 +37,7 @@ package org.apache.flex.html.staticContr
 			// mouseEnabled = true;
 		}
 		
-		private var _width:Number;
+		private var _width:Number = 0;
 		override public function get width():Number
 		{
 			return _width;
@@ -55,7 +55,7 @@ package org.apache.flex.html.staticContr
 			return super.width;
 		}
 		
-		private var _height:Number;
+		private var _height:Number = 0;
 		override public function get height():Number
 		{
 			return _height;



Mime
View raw message