fixes and relationship arrow update issue

This commit is contained in:
eyck committed 2026-11-15 08:13:11 +01:00
1 parent 1eed2c970c
commit ad313b83f3
2 files changed
+2 -3

No files matched your search

@@ -465,8 +465,7 @@ public class WaveformCanvas extends Canvas implements IWaveformZoom{
currentSelectedTx = (selList.length> 0 && selList[0] instanceof ITx)? (ITx) selList[0] : null;
if(currentSelectedTx != null)
reveal(currentSelectedTx);
if(currentSelectedTrack!=null && currentSelectedTx!=null)
arrowPainter.updateSelection();
arrowPainter.updateSelection();
if(!isDisposed())
redraw();
}
@@ -902,7 +902,7 @@ public class WaveformView implements IWaveformView {
currentWaveformSelection.forEach(e -> {if(e!=null)e.selected = true;});
if (selectionChanged) {
currentWaveformSelection.forEach(e -> waveformCanvas.reveal(e.waveform));
waveformCanvas.setSelected(selection);
waveformCanvas.setSelected(getSelection());
valueList.redraw();
nameList.redraw();
fireSelectionChanged();