[288] Fangpunkte und Griffe wie Vectorworks: Fangsymbol je Art mit Kontrastrand und Hinweis-Schildchen, Auswahlgriffe als Quadrate, Kanten-Anfasser erst nach Kantenauswahl (zweiter Klick, Esc hebt auf)
This commit is contained in:
22 files changed
+569
-213
No files matched your search
@@ -804,7 +804,7 @@ export function useGripEditing(opts: {
|
||||
if (!w) continue;
|
||||
const mid: Vec2 = { x: (w.start.x + w.end.x) / 2, y: (w.start.y + w.end.y) / 2 };
|
||||
const nrm = normalize(leftNormal(sub(w.end, w.start)));
|
||||
out.push({ mid, normal: nrm, aIndex: 0, bIndex: 1, owner: { wallId: id } });
|
||||
out.push({ mid, normal: nrm, aIndex: 0, bIndex: 1, owner: { wallId: id }, a: w.start, b: w.end });
|
||||
}
|
||||
}
|
||||
return out;
|
||||
|
||||
Reference in new issue
Block a user