FLEX-32948 Fix to drawing row background
Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/1124aea7 Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/1124aea7 Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/1124aea7 Branch: refs/heads/develop Commit: 1124aea74e9fd0bb464228fc51f3cd57460fc633 Parents: e47f993 Author: Justin Mclean <jmcl...@apache.org> Authored: Sun Aug 4 02:36:46 2013 +1000 Committer: Justin Mclean <jmcl...@apache.org> Committed: Sun Aug 4 02:36:46 2013 +1000 ---------------------------------------------------------------------- .../projects/advancedgrids/src/mx/controls/AdvancedDataGrid.as | 4 ++-- frameworks/projects/mx/src/mx/controls/Tree.as | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/1124aea7/frameworks/projects/advancedgrids/src/mx/controls/AdvancedDataGrid.as ---------------------------------------------------------------------- diff --git a/frameworks/projects/advancedgrids/src/mx/controls/AdvancedDataGrid.as b/frameworks/projects/advancedgrids/src/mx/controls/AdvancedDataGrid.as index ae429a7..36f7c75 100644 --- a/frameworks/projects/advancedgrids/src/mx/controls/AdvancedDataGrid.as +++ b/frameworks/projects/advancedgrids/src/mx/controls/AdvancedDataGrid.as @@ -3016,11 +3016,11 @@ public class AdvancedDataGrid extends AdvancedDataGridBaseEx if (listItems[curRow][0]) { var d:int = getItemDepth(listItems[curRow][0].data, curRow); - drawRowBackground(rowBGs, i++, rowInfo[curRow].y, rowInfo[curRow].height, colors[d - 1], curRow); + drawRowBackground(rowBGs, i++, rowInfo[curRow].y, rowInfo[curRow].height, colors[d - 1], actualRow); } else { - drawRowBackground(rowBGs, i++, rowInfo[curRow].y, rowInfo[curRow].height, uint(color), curRow); + drawRowBackground(rowBGs, i++, rowInfo[curRow].y, rowInfo[curRow].height, uint(color), actualRow); } } catch (e:Error) http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/1124aea7/frameworks/projects/mx/src/mx/controls/Tree.as ---------------------------------------------------------------------- diff --git a/frameworks/projects/mx/src/mx/controls/Tree.as b/frameworks/projects/mx/src/mx/controls/Tree.as index 704531f..5f9215a 100644 --- a/frameworks/projects/mx/src/mx/controls/Tree.as +++ b/frameworks/projects/mx/src/mx/controls/Tree.as @@ -1484,11 +1484,11 @@ public class Tree extends List implements IIMESupport { var d:int = getItemDepth(listItems[curRow][0].data, curRow); var rowColor:uint = colors[d-1] ? colors[d - 1] : uint(color); - drawRowBackground(rowBGs, i++, rowInfo[curRow].y, rowInfo[curRow].height, rowColor, curRow); + drawRowBackground(rowBGs, i++, rowInfo[curRow].y, rowInfo[curRow].height, rowColor, actualRow); } else { - drawRowBackground(rowBGs, i++, rowInfo[curRow].y, rowInfo[curRow].height, uint(color), curRow); + drawRowBackground(rowBGs, i++, rowInfo[curRow].y, rowInfo[curRow].height, uint(color), actualRow); } } catch(e:Error)