diff --git a/src/components/common/draggable/WithDraggable.jsx b/src/components/common/draggable/WithDraggable.jsx index 9a51358c..7ebdf067 100644 --- a/src/components/common/draggable/WithDraggable.jsx +++ b/src/components/common/draggable/WithDraggable.jsx @@ -24,7 +24,8 @@ export default function WithDraggable({ isShow, children, pos = { x: 0, y: 0 }, handleOnDrag(e, data)} - handle={handle === '' ? '.modal-handle' : handle} + handle= ''//{handle === '' ? '.modal-handle' : handle} //전체 handle + cancel="input, button, select, textarea, [contenteditable], .sort-select" >
{children} diff --git a/src/hooks/usePolygon.js b/src/hooks/usePolygon.js index f6dbf3ce..a36b0982 100644 --- a/src/hooks/usePolygon.js +++ b/src/hooks/usePolygon.js @@ -846,8 +846,8 @@ export const usePolygon = () => { if (checkLineOverlap(innerLine, polygonLine)) { // innerLine의 type을 polygonLine의 type으로 변경 if (polygonLine.attributes?.type && innerLine.attributes) { - polygonLine.need = false - innerLine.attributes = polygonLine.attributes + // polygonLine.need = false + innerLine.attributes = { ...polygonLine.attributes } innerLine.direction = polygonLine.direction innerLine.attributes.isStart = true } diff --git a/src/styles/_modal.scss b/src/styles/_modal.scss index f62c8592..4465f09a 100644 --- a/src/styles/_modal.scss +++ b/src/styles/_modal.scss @@ -150,7 +150,7 @@ $alert-color: #101010; position: absolute; top: 0; left: 0; - width: 15px; + width: 5px; height: 100%; background-color: #000; cursor: pointer; @@ -159,7 +159,7 @@ $alert-color: #101010; position: absolute; top: 0; right: 0; - width: 15px; + width: 5px; height: 100%; background-color: #000; cursor: pointer; @@ -235,7 +235,7 @@ $alert-color: #101010; .modal-foot{ display: block; width: 100%; - padding: 15px 0; + padding: 5px 0; background-color: #000; cursor: pointer; }