Change-Id: I814e9f35ceb34302e4a45c0f9223cbf9e98593a7
return EventTypes.MouseDragBeginMask | EventTypes.MouseMovedMask | EventTypes.MouseButtonReleasedMask | EventTypes.KeyPressedMask;
}
return EventTypes.MouseDragBeginMask | EventTypes.MouseMovedMask | EventTypes.MouseButtonReleasedMask | EventTypes.KeyPressedMask;
}
- private static boolean isEventDummy(MouseDragBegin e) {
+ protected static boolean isEventDummy(MouseDragBegin e) {
if (e.controlPosition.distance(0, 0) == 0
&& e.screenPosition.distance(0, 0) == 0
&& e.buttons == 0) {
if (e.controlPosition.distance(0, 0) == 0
&& e.screenPosition.distance(0, 0) == 0
&& e.buttons == 0) {
- private boolean dragging = false;
- private Point2D dragBegin = null;
- private Point2D currentDrag = null;
+ protected boolean dragging = false;
+ protected Point2D dragBegin = null;
+ protected Point2D currentDrag = null;
private Function1<Vec2d, Boolean> translator = null;
private static double FACTOR = 1.0;
private Function1<Vec2d, Boolean> translator = null;
private static double FACTOR = 1.0;