tuned;
authorwenzelm
Tue, 04 Nov 2025 12:43:15 +0100
changeset 83498 3f8416014245
parent 83497 69ddd1a45b89
child 83499 37608f78c44d
tuned;
src/Tools/Graphview/shapes.scala
--- 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 {