feat(B07): GROUP 묶음 JSON 저장·복원, 줌 로그 제거
- `groupId` 를 도면 JSON 에 실어 [저장] 뒤 다시 연 도면에서도 묶음 유지. 엔티티 13종의 `toJson` 대신 직렬화 한 곳(export/import)에서 붙이고, 복원은 순번이 아니라 id 로 — `compact` 가 null 을 걷어 index 가 어긋남. - `setScreenScale` 의 매 호출 `console.log` 제거 — 줌·팬마다 콘솔을 덮었음. - 검증: `group-id-roundtrip.test.ts` 신규, `npx vitest run` 87건 중 81 passed, 실패 6건은 작업 전과 동일한 기존 결함. `npm run build` 통과. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -69,7 +69,6 @@ export class ScreenCanvasDrawController implements DrawController {
|
||||
}
|
||||
|
||||
public setScreenScale(newScreenScale: number) {
|
||||
console.log(`set screen scale: ${newScreenScale}`);
|
||||
this.screenScale = newScreenScale;
|
||||
triggerReactUpdate(StateVariable.screenZoom);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user