|
@@ -285,7 +285,7 @@ public class AwtMouseInput implements MouseInput, MouseListener, MouseWheelListe
|
|
|
|
|
|
@Override
|
|
@Override
|
|
public void mouseMoved(MouseEvent awtEvt) {
|
|
public void mouseMoved(MouseEvent awtEvt) {
|
|
- if (isRecentering) {
|
|
|
|
|
|
+ if (isRecentering) {
|
|
// MHenze (cylab) Fix Issue 35:
|
|
// MHenze (cylab) Fix Issue 35:
|
|
// As long as the MouseInput is in recentering mode, nothing is done until the mouse is entered in the component
|
|
// As long as the MouseInput is in recentering mode, nothing is done until the mouse is entered in the component
|
|
// by the events generated by the robot. If this happens, the last known location is reset.
|
|
// by the events generated by the robot. If this happens, the last known location is reset.
|
|
@@ -306,7 +306,7 @@ public class AwtMouseInput implements MouseInput, MouseListener, MouseWheelListe
|
|
}
|
|
}
|
|
lastKnownLocation.x = awtEvt.getX();
|
|
lastKnownLocation.x = awtEvt.getX();
|
|
lastKnownLocation.y = awtEvt.getY();
|
|
lastKnownLocation.y = awtEvt.getY();
|
|
-
|
|
|
|
|
|
+
|
|
cursorMoved = true;
|
|
cursorMoved = true;
|
|
}
|
|
}
|
|
}
|
|
}
|