changeset 1282:62938da54121

Fixed mouse event copying problem introduced by fix for RT-22150.
author Pavel Safrata
date Mon, 11 Jun 2012 09:56:35 +0200
parents 261c8cd885ec
children 97b7b1b4a358 9dc8b64682f6
files javafx-ui-common/src/javafx/scene/input/MouseEvent.java
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/javafx-ui-common/src/javafx/scene/input/MouseEvent.java	Fri Jun 08 16:25:37 2012 -0700
+++ b/javafx-ui-common/src/javafx/scene/input/MouseEvent.java	Mon Jun 11 09:56:35 2012 +0200
@@ -350,6 +350,9 @@
                         : (EventType<? extends MouseEvent>)
                                 evt.getEventType()));
 
+        copyEvent.sceneX = evt.sceneX;
+        copyEvent.sceneY = evt.sceneY;
+
         evt.recomputeCoordinatesToSource(copyEvent, source);
         return copyEvent;
     }