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);
|
||||
|
||||
if (showMouseOverText) {
|
||||
g.setColor(Color.red);
|
||||
String durationString = String.format(" %.2fms", upDown.getDuration() / EngineReport.SYS_TICKS_PER_MS);
|
||||
|
||||
if (showMouseOverText) {
|
||||
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