mirror of https://github.com/rusefi/rusefi-1.git
simplification
This commit is contained in:
parent
a73f737748
commit
98aa135d1e
|
@ -275,14 +275,13 @@ public class UpDownImage extends JPanel {
|
|||
g.drawLine(x1, y, x1, d.height);
|
||||
g.drawLine(x2, y, x2, d.height);
|
||||
|
||||
g.setColor(Color.red);
|
||||
String durationString = String.format(" %.2fms", upDown.getDuration() / EngineReport.SYS_TICKS_PER_MS);
|
||||
|
||||
if (showMouseOverText) {
|
||||
g.setColor(Color.red);
|
||||
String durationString = String.format(" %.2fms", upDown.getDuration() / EngineReport.SYS_TICKS_PER_MS);
|
||||
g.drawString(durationString, x1, (int) (0.5 * d.height));
|
||||
|
||||
double fromAngle = time2rpm.getCrankAngleByTime((double) upDown.upTime);
|
||||
double toAngle = time2rpm.getCrankAngleByTime((double) upDown.downTime);
|
||||
double fromAngle = time2rpm.getCrankAngleByTime(upDown.upTime);
|
||||
double toAngle = time2rpm.getCrankAngleByTime(upDown.downTime);
|
||||
|
||||
String fromAngleStr = RevolutionLog.angle2string(fromAngle);
|
||||
|
||||
|
|
Loading…
Reference in New Issue