Commit f59ec94a authored by Nico Mack's avatar Nico Mack

Leveraged conditional features inherited from SelectableCorona

parent ecb9d144
......@@ -121,7 +121,10 @@ public class PositionWidget extends PointingWidget implements InformationProvide
super.actionMove(tuioObject);
if (this.trackRotationContinuously || this.trackTranslationContinuously) {
this.updateFromMove(tuioObject.getPosition(), CONTINUOUS);
StateManager manager = objectStates.get(tuioObject.getObjectId());
if (manager.isMoving() || manager.isRotating()) {
this.updateFromMove(tuioObject.getPosition(), CONTINUOUS);
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment