Merge pull request 'dev' (#580) from dev into dev-deploy

Reviewed-on: #580
This commit is contained in:
qcast3 2026-01-14 12:20:52 +09:00
commit 418d514a37

View File

@ -172,9 +172,9 @@ export const useLine = () => {
const isHorizontal = y1 === y2
const isVertical = x1 === x2
const isDiagonal = !isHorizontal && !isVertical
const lineLength = line.getLength()
const lineLength = line.attributes.planeSize ?? line.getLength()
line.attributes = { ...line.attributes, planeSize: line.getLength(), actualSize: line.getLength() }
line.attributes = { ...line.attributes, planeSize: lineLength, actualSize: lineLength }
if (+roofSizeSet === 1) {
if (direction === 'south' || direction === 'north') {