From e1d5eb1839b2596fe0805492aebfdc7cef2c7f57 Mon Sep 17 00:00:00 2001 From: rusefillc Date: Thu, 10 Dec 2020 21:21:25 -0500 Subject: [PATCH] all triggers should be documented way nicer #2001 TDC fix --- java_console/ui/src/main/java/com/rusefi/TriggerImage.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java_console/ui/src/main/java/com/rusefi/TriggerImage.java b/java_console/ui/src/main/java/com/rusefi/TriggerImage.java index fcb810e804..9c876994f6 100644 --- a/java_console/ui/src/main/java/com/rusefi/TriggerImage.java +++ b/java_console/ui/src/main/java/com/rusefi/TriggerImage.java @@ -235,7 +235,7 @@ public class TriggerImage { double tdcAngle = Math.toRadians(shape.getTdcPosition()); int smallX = (int) (WHEEL_DIAMETER / 2 * Math.sin(tdcAngle)); - int smallY = -(int) (WHEEL_DIAMETER / 2 * Math.cos(tdcAngle)); + int smallY = (int) (WHEEL_DIAMETER / 2 * Math.cos(tdcAngle)); int tdcMarkRadius = 8; g.fillOval(middle + smallX - tdcMarkRadius, middle + smallY - tdcMarkRadius,