svn changeset:23852/svn branch:6.8tags/7.0.0.alpha3
/** | /** | ||||
* Find the element corresponding to the coordinates in the passed mouse | * Find the element corresponding to the coordinates in the passed mouse | ||||
* event. Please note that this is not always the same as the target of the | * event. Please note that this is not always the same as the target of the | ||||
* element e.g. if event capture is used. | |||||
* event e.g. if event capture is used. | |||||
* | * | ||||
* @param event | * @param event | ||||
* the mouse event to get coordinates from | * the mouse event to get coordinates from |
if (lastMouseDownTarget != null | if (lastMouseDownTarget != null | ||||
&& elementUnderMouse.cast() == lastMouseDownTarget) { | && elementUnderMouse.cast() == lastMouseDownTarget) { | ||||
mouseUpPreviewMatched = true; | mouseUpPreviewMatched = true; | ||||
} else { | |||||
System.out.println("Ignoring mouseup from " | |||||
+ elementUnderMouse + " when mousedown was on " | |||||
+ lastMouseDownTarget); | |||||
} | } | ||||
} | } | ||||
} | } |