From 990c0e7e29118968a7764042ee67def27a5f9812 Mon Sep 17 00:00:00 2001 From: ysCha Date: Thu, 30 Oct 2025 16:38:48 +0900 Subject: [PATCH] =?UTF-8?q?log=20=EC=A0=9C=EA=B1=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/hooks/roofcover/useMovementSetting.js | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/src/hooks/roofcover/useMovementSetting.js b/src/hooks/roofcover/useMovementSetting.js index 3b285e77..f421a3bb 100644 --- a/src/hooks/roofcover/useMovementSetting.js +++ b/src/hooks/roofcover/useMovementSetting.js @@ -285,12 +285,6 @@ export function useMovementSetting(id) { const midY = Big(target.y1).plus(target.y2).div(2) const wall = canvas.getObjects().find((obj) => obj.id === target.attributes.wallId) - wall.lines.forEach(line => { - - console.log(classifyWallLine(wall, line)) - - }) - let linePosition = classifyWallLine(wall, target).position; if (target.y1 === target.y2) { //수평벽 @@ -622,22 +616,22 @@ export function useMovementSetting(id) { .forEach((target) => { const currentLine = target.line - console.log("linePosition::::::::::::::", linePosition) + //console.log("linePosition::::::::::::::", linePosition) if (UP_DOWN_REF.DOWN_RADIO_REF.current.checked ){ //position확인 if(linePosition === 'bottom' || linePosition === 'right') { - console.log("1value::::::::::::::", value.toString()) + //console.log("1value::::::::::::::", value.toString()) value = value.neg() } }else { if(linePosition === 'top' || linePosition === 'left') { - console.log("1value::::::::::::::", value.toString()) + //console.log("1value::::::::::::::", value.toString()) value = value.neg() } } - console.log("2value::::::::::::::", value.toString()) + //console.log("2value::::::::::::::", value.toString()) const index = baseLines.findIndex((line) => line === currentLine) const nextLine = baseLines[(index + 1) % baseLines.length] const prevLine = baseLines[(index - 1 + baseLines.length) % baseLines.length]