diff --git a/frontend/src/services/printService.ts b/frontend/src/services/printService.ts index 8640d1d..6001499 100644 --- a/frontend/src/services/printService.ts +++ b/frontend/src/services/printService.ts @@ -1,7 +1,5 @@ import type { YjsDocument } from '../crdt/YjsDocument'; -// ─── Types ─────────────────────────────────────────────────────────────────── - export type PageSize = 'a4' | 'a3' | 'a2' | 'a1'; export type Orientation = 'portrait' | 'landscape'; export type ScalePreset = '1:50' | '1:100' | '1:200' | 'custom'; @@ -176,8 +174,6 @@ function generatePageSVG( const offsetX = bbox.minX + col * cadUnitsPerPageW; const offsetY = bbox.minY + row * cadUnitsPerPageH; - const visibleW = Math.min(cadUnitsPerPageW, bbox.minX + bbox.width - offsetX); - const visibleH = Math.min(cadUnitsPerPageH, bbox.minY + bbox.height - offsetY); const vbW = layout.drawableWidth; const vbH = layout.drawableHeight;