fix engine sniffer repaint (#3981)
This commit is contained in:
parent
1b8d530c29
commit
8eff02a5d3
|
@ -221,10 +221,8 @@ public class EngineSnifferPanel {
|
|||
image.setWaveReport(wr, revolutions);
|
||||
}
|
||||
|
||||
/**
|
||||
* this is to fix the UI glitch when images tab shows a tiny square
|
||||
*/
|
||||
UiUtils.trueLayout(chartPanel.getParent());
|
||||
// Repaint now that we've updated state
|
||||
SwingUtilities.invokeLater(() -> UiUtils.trueRepaint(imagePanel));
|
||||
}
|
||||
|
||||
public JPanel getPanel() {
|
||||
|
|
|
@ -129,7 +129,6 @@ public class UpDownImage extends JPanel {
|
|||
this.engineReport = wr;
|
||||
propagateDwellIntoSensor(wr);
|
||||
this.revolutions = revolutions;
|
||||
UiUtils.trueRepaint(this);
|
||||
}
|
||||
|
||||
private void propagateDwellIntoSensor(EngineReport wr) {
|
||||
|
|
Loading…
Reference in New Issue