auto-sync

This commit is contained in:
rusEfi 2015-09-21 21:02:29 -04:00
parent 8897b277b3
commit f8fba1fc77
2 changed files with 3 additions and 0 deletions

View File

@ -155,6 +155,7 @@ public class EngineSnifferPanel {
zoomControl.listener = new ZoomControl.ZoomControlListener() {
@Override
public void onZoomChange() {
System.out.println("onZoomChange");
UiUtils.trueRepaint(imagePanel);
}
};
@ -217,6 +218,7 @@ public class EngineSnifferPanel {
/**
* this is to fix the UI glitch when images tab shows a tiny square
*/
System.out.println("displayChart");
UiUtils.trueRepaint(chartPanel.getParent());
}

View File

@ -106,6 +106,7 @@ class ZoomControl extends JPanel {
}
private void setValue(double value) {
System.out.println("Zoom setValue " + value);
this.value = value;
//currentValue.setText(String.format(" %.4fms", value));
resetZoom.setEnabled(Math.abs(1 - value) > 0.01);