dev #403

Merged
ysCha merged 8 commits from dev into prd-deploy 2025-10-28 16:43:02 +09:00
2 changed files with 5 additions and 3 deletions
Showing only changes of commit 0ad18e4f15 - Show all commits

View File

@ -102,7 +102,7 @@ export function useMovementSetting(id) {
/** outerLines 속성처리*/
const outerLines = canvas.getObjects().filter((obj) => obj.name === 'outerLine')
outerLines.forEach((line) => line.set({ visible: false }))
outerLines.forEach((line) => line.set({ visible: true }))
canvas.renderAll()
}, [type])
@ -329,7 +329,9 @@ export function useMovementSetting(id) {
const roof = canvas.getObjects().find((obj) => obj.id === roofId)
// 현이동, 동이동 추가
const moveFlowLine = typeRef.current === TYPE.FLOW_LINE ? FLOW_LINE_REF.POINTER_INPUT_REF.current.value : 0
let pointValue = FLOW_LINE_REF.POINTER_INPUT_REF.current.value;
let filledValue = FLOW_LINE_REF.FILLED_INPUT_REF.current.value;
const moveFlowLine = typeRef.current === TYPE.FLOW_LINE ? (pointValue===''?filledValue:pointValue) : 0
const moveUpDown = typeRef.current === TYPE.UP_DOWN ? UP_DOWN_REF.POINTER_INPUT_REF.current.value : 0
roof.moveFlowLine = parseInt(moveFlowLine, 10) || 0;
roof.moveUpDown = parseInt(moveUpDown, 10) || 0;

View File

@ -123,7 +123,7 @@ export function useContextMenu() {
}, [currentContextMenu])
useEffect(() => {
console.log('currentObject', currentObject)
//console.log('currentObject', currentObject)
if (currentObject?.name) {
switch (currentObject.name) {
case 'triangleDormer':