From c2d6893a5909fcf09bfe392180c9dbec8370791f Mon Sep 17 00:00:00 2001 From: Karim Date: Sat, 4 Jul 2026 00:07:41 +0200 Subject: [PATCH] Verschiebe-Dreieck flacher (Apex ~124 statt ~60 Grad) --- src/plan/PlanView.tsx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/plan/PlanView.tsx b/src/plan/PlanView.tsx index cb17308..739e489 100644 --- a/src/plan/PlanView.tsx +++ b/src/plan/PlanView.tsx @@ -750,8 +750,10 @@ export const PlanView = forwardRef( // (toScreen spiegelt Y), damit „außen" am Bildschirm auch wirklich außen ist. // Dreieck-Höhe (nach außen) + halbe Basisbreite in Bildschirm-Pixeln. Die Basis // sitzt AUF der Linie (am Kanten-Mittelpunkt), die Spitze zeigt nach außen. - const EDGE_GRIP_H_PX = 14; - const EDGE_GRIP_HALF_PX = 8; + // Flacher, breiter Pfeil (Apex ~124°, also flacher als 120°) statt spitzem + // Dreieck: breitere Basis, geringere Höhe. + const EDGE_GRIP_H_PX = 8; + const EDGE_GRIP_HALF_PX = 15; const screenNormal = (n: Vec2): Vec2 => ({ x: n.x, y: -n.y }); // Index des Kanten-Griffs unter dem Cursor (Bildschirm-Pixel) oder null. Die // Trefferfläche liegt um die Dreiecks-Mitte (etwas außerhalb der Linie).