Repository: flex-asjs
Updated Branches:
  refs/heads/develop da16efbee -> 52300dae3


Change dragImage HTML style to position property and use a pointer cursor.


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

Branch: refs/heads/develop
Commit: 52300dae3cbb5ed87ed8be391d5866aa30c4aa85
Parents: da16efb
Author: Peter Ent <[email protected]>
Authored: Wed Jul 12 14:28:14 2017 -0400
Committer: Peter Ent <[email protected]>
Committed: Wed Jul 12 14:28:14 2017 -0400

----------------------------------------------------------------------
 .../org/apache/flex/html/beads/SingleSelectionDragSourceBead.as  | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/52300dae/frameworks/projects/DragDrop/src/main/flex/org/apache/flex/html/beads/SingleSelectionDragSourceBead.as
----------------------------------------------------------------------
diff --git 
a/frameworks/projects/DragDrop/src/main/flex/org/apache/flex/html/beads/SingleSelectionDragSourceBead.as
 
b/frameworks/projects/DragDrop/src/main/flex/org/apache/flex/html/beads/SingleSelectionDragSourceBead.as
index 0af7043..6701d80 100644
--- 
a/frameworks/projects/DragDrop/src/main/flex/org/apache/flex/html/beads/SingleSelectionDragSourceBead.as
+++ 
b/frameworks/projects/DragDrop/src/main/flex/org/apache/flex/html/beads/SingleSelectionDragSourceBead.as
@@ -120,6 +120,10 @@ package org.apache.flex.html.beads
                                dragImage.height = (ir as UIBase).height;
                                var label:Label = new Label();
                                label.text = ir.data.toString();
+                               COMPILE::JS {
+                                       dragImage.element.style.position = 
'absolute';
+                                       dragImage.element.style.cursor = 
'pointer';
+                               }
                                dragImage.addElement(label);
                                
                                DragEvent.dragSource = ir.data;

Reply via email to