Commit d96e0e80 authored by Nico Mack's avatar Nico Mack

Minor Bug fixes and improvements

parent 5e281761
......@@ -207,7 +207,7 @@ public abstract class Variable<V> implements Cloneable {
this.value = newValue;
if (!this.notificationSuspended()) {
if (!this.notificationSuspended() && this.modified) {
this.notifyInputChangeListeners(new InputEvent(this));
}
}
......
......@@ -106,8 +106,8 @@ public class PositionWidget extends PointingWidget implements InformationProvide
// position.setLocation(newPosition.x, newPosition.y);
}
if (doUpdate) {
position.setLocation(newPosition.x, newPosition.y);
this.variable.setValue(position);
// position.setLocation(newPosition.x, newPosition.y);
this.variable.setValue(newPosition);
}
} else {
this.variable.setValue(newPosition);
......
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