auto-sync
This commit is contained in:
parent
29b6ad8adb
commit
df92af6311
|
@ -155,6 +155,7 @@ public class EngineSnifferPanel {
|
||||||
zoomControl.listener = new ZoomControl.ZoomControlListener() {
|
zoomControl.listener = new ZoomControl.ZoomControlListener() {
|
||||||
@Override
|
@Override
|
||||||
public void onZoomChange() {
|
public void onZoomChange() {
|
||||||
|
System.out.println("onZoomChange");
|
||||||
UiUtils.trueRepaint(imagePanel);
|
UiUtils.trueRepaint(imagePanel);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
@ -217,6 +218,7 @@ public class EngineSnifferPanel {
|
||||||
/**
|
/**
|
||||||
* this is to fix the UI glitch when images tab shows a tiny square
|
* this is to fix the UI glitch when images tab shows a tiny square
|
||||||
*/
|
*/
|
||||||
|
System.out.println("displayChart");
|
||||||
UiUtils.trueRepaint(chartPanel.getParent());
|
UiUtils.trueRepaint(chartPanel.getParent());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -106,6 +106,7 @@ class ZoomControl extends JPanel {
|
||||||
}
|
}
|
||||||
|
|
||||||
private void setValue(double value) {
|
private void setValue(double value) {
|
||||||
|
System.out.println("Zoom setValue " + value);
|
||||||
this.value = value;
|
this.value = value;
|
||||||
//currentValue.setText(String.format(" %.4fms", value));
|
//currentValue.setText(String.format(" %.4fms", value));
|
||||||
resetZoom.setEnabled(Math.abs(1 - value) > 0.01);
|
resetZoom.setEnabled(Math.abs(1 - value) > 0.01);
|
||||||
|
|
Loading…
Reference in New Issue