From bd8bedcfed6ef9df3b8a42fc2a0b59143398e845 Mon Sep 17 00:00:00 2001 From: Leopoldadmin Date: Fri, 26 Jun 2026 19:24:12 +0200 Subject: [PATCH] fix: remove debug console.log from InteractionEngine - tools verified working --- frontend/src/interaction/index.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/frontend/src/interaction/index.ts b/frontend/src/interaction/index.ts index 6d23a42..a879712 100644 --- a/frontend/src/interaction/index.ts +++ b/frontend/src/interaction/index.ts @@ -235,7 +235,6 @@ export class InteractionEngine { switch (this.state.activeTool) { case 'select': - console.log('[DEBUG] onMouseDown tool=select'); this.handleSelectDown(e, raw); break; case 'line': @@ -247,7 +246,6 @@ export class InteractionEngine { case 'text': case 'dimension': case 'leader': - console.log('[DEBUG] onMouseDown tool=' + this.state.activeTool + ' phase=' + this.state.phase); this.handleDrawDown(final); break; case 'revcloud': @@ -468,7 +466,6 @@ export class InteractionEngine { } private handleDrawDown(pt: { x: number; y: number }): void { - console.log('[DEBUG] handleDrawDown called', { tool: this.state.activeTool, phase: this.state.phase, points: this.state.points.length, pt }); this.state.phase = 'drawing'; this.state.points.push(pt); @@ -951,7 +948,6 @@ export class InteractionEngine { } private confirmDraw(): void { - console.log('[DEBUG] confirmDraw called', { tool: this.state.activeTool, hasPreview: !!this.state.previewElement, points: this.state.points.length }); if (!this.state.previewElement) return; const layerId = this.layerManager.getActiveLayerId(); const dimService = new DimensionService();