[Bug] ERD 탭 버튼 겹치는 문제 해결 및 구조 개선#33
Merged
Merged
Conversation
slyhyun
reviewed
May 29, 2026
Collaborator
There was a problem hiding this comment.
ERDPage.tsx:495에서 초기 줌을 worldCanvasWidth/Height 전체 기준으로 잡고, ERDPage.tsx:582에서 그 값을 바로 setDiagramZoom(minCanvasZoom)에 넣고 있습니다.
그런데 world canvas가 최소 7200 x 5000이라서 일반 화면에서는 초기 줌이 10%대까지 내려가고, 실제 ERD는 ERDPage.tsx:1350의 작은 프레임 영역 안에 있어서 첫 진입 시 너무 작게 보일 가능성이 큽니다.
리셋 버튼도 같은 값으로 돌아가서, “캔버스 전체 맞춤”이 아니라 “ERD 다이어그램 읽기 좋은 맞춤” 기준으로 계산하는 게 좋아 보입니다.
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.
🔎 What
🔗 Issue
✅ 체크리스트