This commit is contained in:
EthanHealy01 2025-09-12 18:01:08 +01:00
parent 6c18c46681
commit 30004b656b
2 changed files with 1 additions and 2 deletions

View File

@ -187,7 +187,6 @@ export default function StampPreview({ parameters, onParameterChange, file, show
if (drag.type === 'resize') {
// Height is our canonical size (fontSize)
const widthPts = pageSize?.widthPts ?? 595.28;
const heightPts = pageSize?.heightPts ?? 841.89;
const scaleY = containerSize.height / heightPts;
const newHeightPx = Math.max(1, drag.initHeight + (y - drag.startY));

View File

@ -56,7 +56,7 @@ export function computeStampPreviewStyle(
pageSize: PageSizePts,
containerSize: ContainerSize,
showQuickGrid: boolean | undefined,
hoverTile: number | null,
_hoverTile: number | null,
hasPageThumbnail: boolean
): StampPreviewStyle {
const pageWidthPx = containerSize.width;