Open
Conversation
-Canvas.tsx 파일 분리 -배경 분리
- Canvas.tsx에서 렌더링 로직 분리 - visibleItems.map 기반 RenderItem 호출 로직을 ItemRenderingLayer로 이동함
- Canvas.tsx 분리 - RemoteSelectionLayer 로직 분리 - RemoteSelectionIndicator를 CollaborationLayer로 통합
Canvas.tsx에서 분리 - 텍스트 편집 로직 분리
Canvas.tsx 에서 분리 - ArrowHandles, SnapIndicator, SelectionBox, ItemTransformer 렌더링을 InteractionLayer로 이동
- selectedHandleIndex 추가
- isDraggingHandle 상태 도입 - 드래그 중 원본 화살표 렌더릴 x
- 라인 더블클릭시 핸들 정상적으로 추가되도록 수정 - 화살표 부착 및 해제 로직 개선(핸들 기존 부착 정보 currentSnapTarget에 채워지도록)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
✅ 작업 내용
Canvas.tsx 리팩토링
내부 로직 커스텀훅으로 분리
화살표 / 라인 핸들 조작시 성능 개선
🤔 리뷰 요구사항