[333] Schnitt: waagrechte Griffe für Decke und Wand (Ende entlang der Schnittlinie ziehen, Kern sheet_height::end_ops)
check / check (push) Canceled after 0s
check / licenses (push) Canceled after 0s
check / e2e (push) Canceled after 0s
macos / native (push) Canceled after 0s

This commit is contained in:
Claude committed 2026-11-27 02:41:25 +00:00
1 parent 880d7751f9
commit c3bfe2cf59
15 files changed
+324 -17

No files matched your search

+1
View File
@@ -137,6 +137,7 @@ export function ViewportCenter(props: {
updateOpening: pa.updateOpening,
slideOpening: pa.slideOpening,
sheetHeightGrip: pa.sheetHeightGrip,
sheetEndGrip: pa.sheetEndGrip,
moveStairBy: pa.moveStairBy,
dragStairParam: pa.dragStairParam,
moveRoomGrip: pa.moveRoomGrip,
+9 -5
View File
@@ -1189,16 +1189,20 @@ export const PlanView = forwardRef<PlanViewHandle, PlanViewProps>(
return idx.map((i) => {
const s = toLocal(grips![i]);
const insert = !!(grips![i] as { insert?: boolean }).insert;
// [333] Waagrechter End-Griff im Schnitt: breites flaches Rechteck (links-rechts ziehen), nicht das Quadrat der Höhen-Griffe.
const horizontal = !!(grips![i] as { horizontal?: boolean }).horizontal;
const hover = hoverGrip === i;
const half = (gripSquareHalfPx(insert, hover) * k * (hover ? 1 : crowd)) / meet;
const halfW = horizontal ? half * 1.9 : half;
const halfH = horizontal ? half * 0.8 : half;
return (
<rect
key={`grip-${i}`}
className={"plan-grip" + (insert ? " plan-grip-insert" : "") + (hover ? " plan-grip-hover" : "")}
x={s.x - half}
y={s.y - half}
width={half * 2}
height={half * 2}
className={"plan-grip" + (insert ? " plan-grip-insert" : "") + (horizontal ? " plan-grip-horizontal" : "") + (hover ? " plan-grip-hover" : "")}
x={s.x - halfW}
y={s.y - halfH}
width={halfW * 2}
height={halfH * 2}
pointerEvents="none"
/>
);