diff --git a/frontend/src/core/components/tools/sign/SignSettings.tsx b/frontend/src/core/components/tools/sign/SignSettings.tsx index d2a52c942..6c2599d0c 100644 --- a/frontend/src/core/components/tools/sign/SignSettings.tsx +++ b/frontend/src/core/components/tools/sign/SignSettings.tsx @@ -5,7 +5,7 @@ import { SignParameters } from "@app/hooks/tools/sign/useSignParameters"; import { SuggestedToolsSection } from "@app/components/tools/shared/SuggestedToolsSection"; import { useSignature } from "@app/contexts/SignatureContext"; import { useViewer } from "@app/contexts/ViewerContext"; -import { PLACEMENT_ACTIVATION_DELAY, FILE_SWITCH_ACTIVATION_DELAY } from './signConstants'; +import { PLACEMENT_ACTIVATION_DELAY, FILE_SWITCH_ACTIVATION_DELAY } from '@app/constants/signConstants'; // Import the new reusable components import { DrawingCanvas } from "@app/components/annotation/shared/DrawingCanvas"; diff --git a/frontend/src/core/components/viewer/SignaturePlacementOverlay.tsx b/frontend/src/core/components/viewer/SignaturePlacementOverlay.tsx index c483311fa..be5257deb 100644 --- a/frontend/src/core/components/viewer/SignaturePlacementOverlay.tsx +++ b/frontend/src/core/components/viewer/SignaturePlacementOverlay.tsx @@ -10,7 +10,7 @@ import { MAX_PREVIEW_HEIGHT_REM, MIN_SIGNATURE_DIMENSION_REM, OVERLAY_EDGE_PADDING_REM, -} from '@app/components/tools/sign/signConstants'; +} from '@app/constants/signConstants'; // Convert rem to pixels using browser's base font size (typically 16px) const remToPx = (rem: number) => rem * parseFloat(getComputedStyle(document.documentElement).fontSize); diff --git a/frontend/src/core/components/tools/sign/signConstants.ts b/frontend/src/core/constants/signConstants.ts similarity index 100% rename from frontend/src/core/components/tools/sign/signConstants.ts rename to frontend/src/core/constants/signConstants.ts diff --git a/frontend/src/core/utils/signaturePreview.ts b/frontend/src/core/utils/signaturePreview.ts index c5be5bc2d..739edfb43 100644 --- a/frontend/src/core/utils/signaturePreview.ts +++ b/frontend/src/core/utils/signaturePreview.ts @@ -1,5 +1,5 @@ import { SignParameters } from '@app/hooks/tools/sign/useSignParameters'; -import { HORIZONTAL_PADDING_RATIO, VERTICAL_PADDING_RATIO } from '@app/components/tools/sign/signConstants'; +import { HORIZONTAL_PADDING_RATIO, VERTICAL_PADDING_RATIO } from '@app/constants/signConstants'; export interface SignaturePreview { dataUrl: string;