dev #582

Merged
qcast3 merged 4 commits from dev into dev-deploy 2026-01-15 18:33:59 +09:00
Showing only changes of commit d95dcf608d - Show all commits

View File

@ -3094,7 +3094,7 @@ export const useTrestle = () => {
) )
} }
if (!halfBottomRightModule) { if (!halfBottomRightModule) {
halfBottomRightPoint = { x: x + w, y: y - height / 2 } halfBottomRightPoint = { x: x + w, y: y + height / 2 }
halfBottomRightModule = centerPoints.find( halfBottomRightModule = centerPoints.find(
(centerPoint) => Math.abs(centerPoint.x - halfBottomRightPoint.x) < maxX && Math.abs(centerPoint.y - halfBottomRightPoint.y) < maxY, (centerPoint) => Math.abs(centerPoint.x - halfBottomRightPoint.x) < maxX && Math.abs(centerPoint.y - halfBottomRightPoint.y) < maxY,
) )