Patches item #409543, was updated on 2001-03-18 08:01
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=305757&aid=409543&group_id=5757
Category: DynAPI-Event
Group: None
>Status: Closed
Priority: 5
Submitted By: Michael Pemberton (mpember)
Assigned to: Nobody/Anonymous (nobody)
Summary: Drag Event bugfix
Initial Comment:
I've been looking at the problem with the layer position being stuffed in the dragdrop
example.
It is a problem with the docListener.mousemove method.
The following code change needs to be made. This way, the layer position remains the
same on
the screen when you move it from a layer to the document.
------- Start Original -------------------------------
de.pageX=e.getPageX();
de.pageY=e.getPageY();
------- End Original -------------------------------
------- Start New -------------------------------
de.pageX=e.getPageX();
de.pageY=e.getPageY();
de.parentPageX=lyr.parent.getPageX();
de.parentPageY=lyr.parent.getPageY();
------- End New -------------------------------
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=305757&aid=409543&group_id=5757
_______________________________________________
Dynapi-Dev mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dynapi-dev