src/Tools/Graphview/shapes.scala
changeset 83498 3f8416014245
parent 82142 508a673c87ac
--- a/src/Tools/Graphview/shapes.scala	Tue Nov 04 12:17:43 2025 +0100
+++ b/src/Tools/Graphview/shapes.scala	Tue Nov 04 12:43:15 2025 +0100
@@ -177,7 +177,7 @@
           val (dx, dy) = (fx - tx, fy - ty)
           if ((dx * dx + dy * dy) < 1.0) {
             val at = AffineTransform.getTranslateInstance(fx, fy)
-            at.rotate(- (math.atan2(dx, dy) + math.Pi / 2))
+            at.rotate(- (scala.math.atan2(dx, dy) + scala.math.Pi / 2))
             Some(at)
           }
           else {