{
private ReadEnd end;
- public WireCrossPoint(ViewModel model)
+ public WireCrossPoint(ViewModel model, int logicWidth)
{
super(model);
setSize(0, 0);
- addPin(new Pin(this, 0, 0));
+ addPin(new Pin(this, logicWidth, 0, 0));
}
@Override
public void setLogicModelBinding(ReadEnd end)
{
this.end = end;
- end.addObserver((i, o) -> callComponentChangedListeners());
+ end.addObserver((i, o) -> callComponentLookChangedListeners());
}
}
\ No newline at end of file