flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jmcl...@apache.org
Subject [1/2] git commit: [flex-sdk] [refs/heads/develop] - FLEX-33169 Fix for scrolling bug
Date Thu, 02 May 2013 03:25:43 GMT
Updated Branches:
  refs/heads/develop 8ec4e1485 -> 7d20cec89


FLEX-33169 Fix for scrolling bug


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

Branch: refs/heads/develop
Commit: 46ceb00e94b38218ffc9d9f0e70d76096280823b
Parents: 8ec4e14
Author: Justin Mclean <jmclean@apache.org>
Authored: Thu May 2 13:20:35 2013 +1000
Committer: Justin Mclean <jmclean@apache.org>
Committed: Thu May 2 13:20:35 2013 +1000

----------------------------------------------------------------------
 .../projects/spark/src/spark/components/List.as    |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/46ceb00e/frameworks/projects/spark/src/spark/components/List.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/spark/src/spark/components/List.as b/frameworks/projects/spark/src/spark/components/List.as
index 84ac9e1..9114ded 100644
--- a/frameworks/projects/spark/src/spark/components/List.as
+++ b/frameworks/projects/spark/src/spark/components/List.as
@@ -1934,7 +1934,7 @@ public class List extends ListBase implements IFocusManagerComponent
             validateProperties();
         
         mouseDownPoint = event.target.localToGlobal(new Point(event.localX, event.localY));
-        mouseDownObject = event.target as DisplayObject;
+        mouseDownObject = event.currentTarget as DisplayObject;
         mouseDownIndex = newIndex;
         
         var listenForDrag:Boolean = (dragEnabled && getStyle("interactionMode") ==
InteractionMode.MOUSE && selectedIndices && this.selectedIndices.indexOf(newIndex)
!= -1);


Mime
View raw message