[103] Dachfenster bleiben beim Ziehen auf der Dach-/Deckenfläche
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NTYBZBvLYCtugMJoKXaB67
This commit is contained in:
4 files changed
+49
-4
No files matched your search
@@ -909,7 +909,10 @@ export function useGripEditing(opts: {
|
||||
const op = (project.openings ?? []).find((o) => o.id === selectedOpeningId);
|
||||
if (op && (op.hostRoofId || op.hostCeilingId)) {
|
||||
const info = op.locked ? null : surfaceOpeningInfo(project, op.id);
|
||||
const patch = info && surfaceOpeningGripPatch(info, index, pt);
|
||||
const outline = op.hostRoofId
|
||||
? (project.roofs ?? []).find((r) => r.id === op.hostRoofId)?.outline
|
||||
: (project.ceilings ?? []).find((c) => c.id === op.hostCeilingId)?.outline;
|
||||
const patch = info && surfaceOpeningGripPatch(info, index, pt, outline);
|
||||
if (patch) updateOpening(op.id, patch);
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user