flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bigosma...@apache.org
Subject git commit: [flex-asjs] [refs/heads/develop] - Fix BoxItemRenderer to accommodate for drawing api changes
Date Thu, 16 Oct 2014 20:15:02 GMT
Repository: flex-asjs
Updated Branches:
  refs/heads/develop 7eaf5b41b -> eed8bdaab


Fix BoxItemRenderer to accommodate for drawing api changes


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

Branch: refs/heads/develop
Commit: eed8bdaab346ed417ae8d1dd7445aac3d1380254
Parents: 7eaf5b4
Author: OmPrakash Muppirala <bigosmallm@gmail.com>
Authored: Thu Oct 16 13:14:18 2014 -0700
Committer: OmPrakash Muppirala <bigosmallm@gmail.com>
Committed: Thu Oct 16 13:14:18 2014 -0700

----------------------------------------------------------------------
 .../org/apache/flex/charts/supportClasses/BoxItemRenderer.as    | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/eed8bdaa/frameworks/as/projects/FlexJSJX/src/org/apache/flex/charts/supportClasses/BoxItemRenderer.as
----------------------------------------------------------------------
diff --git a/frameworks/as/projects/FlexJSJX/src/org/apache/flex/charts/supportClasses/BoxItemRenderer.as
b/frameworks/as/projects/FlexJSJX/src/org/apache/flex/charts/supportClasses/BoxItemRenderer.as
index 93b65f5..00dd1e5 100644
--- a/frameworks/as/projects/FlexJSJX/src/org/apache/flex/charts/supportClasses/BoxItemRenderer.as
+++ b/frameworks/as/projects/FlexJSJX/src/org/apache/flex/charts/supportClasses/BoxItemRenderer.as
@@ -207,7 +207,10 @@ package org.apache.flex.charts.supportClasses
 				
 				filledRect.fill = fill;
 				filledRect.stroke = stroke;
-				filledRect.drawRect(0,0,this.width,this.height);
+				filledRect.x = 0;
+				filledRect.y = 0;
+				filledRect.width = this.width;
+				filledRect.height = this.height;
 				
 				if (needsAdd) {
 					addElement(filledRect);


Mime
View raw message