Compare commits

..

No commits in common. "9b0d5697a577b9f27d54ebc44b10fab0148dd408" and "fb82fea098d2bb2432d168db5d01d90dd285d5af" have entirely different histories.

2 changed files with 2 additions and 3 deletions

View File

@ -25,7 +25,6 @@ export default function WithDraggable({ isShow, children, pos = { x: 0, y: 0 },
position={{ x: position.x, y: position.y }} position={{ x: position.x, y: position.y }}
onDrag={(e, data) => handleOnDrag(e, data)} onDrag={(e, data) => handleOnDrag(e, data)}
handle= ''//{handle === '' ? '.modal-handle' : handle} //전체 handle handle= ''//{handle === '' ? '.modal-handle' : handle} //전체 handle
cancel="input, button, select, textarea, [contenteditable]"
> >
<div className={`modal-pop-wrap ${className}`} style={{ visibility: isHidden ? 'hidden' : 'visible' }}> <div className={`modal-pop-wrap ${className}`} style={{ visibility: isHidden ? 'hidden' : 'visible' }}>
{children} {children}

View File

@ -846,8 +846,8 @@ export const usePolygon = () => {
if (checkLineOverlap(innerLine, polygonLine)) { if (checkLineOverlap(innerLine, polygonLine)) {
// innerLine의 type을 polygonLine의 type으로 변경 // innerLine의 type을 polygonLine의 type으로 변경
if (polygonLine.attributes?.type && innerLine.attributes) { if (polygonLine.attributes?.type && innerLine.attributes) {
// polygonLine.need = false polygonLine.need = false
innerLine.attributes = { ...polygonLine.attributes } innerLine.attributes = polygonLine.attributes
innerLine.direction = polygonLine.direction innerLine.direction = polygonLine.direction
innerLine.attributes.isStart = true innerLine.attributes.isStart = true
} }