sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #23643
Re: [Question #242702]: dragDrop not working correctly
Question #242702 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/242702
Status: Open => Answered
RaiMan proposed the following answer:
definitely: if item 4 is dragged, where you expect item 2 to be dragged,
then the offset values do not fit (are wrong).
This happens, if you evaluate the offset with reference to the top left corner and not to the centre of the 2 regions (ref and target item). Because in your case, you are working with regions and not with points.
A regions default click point is it's centre, which depends on width and height.
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.