T45d Site · Components: comments one short line

This commit is contained in:
ZacharyZhang-NY committed 2026-10-01 08:38:05 -04:00
1 parent 8712fd0389
commit 8d647e632f
4 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -22,7 +22,7 @@ interface Props {
lift?: number | null;
}
/** Grows once shown; a press regrows it or picks a block. */
/** Grows once shown; a press regrows or picks. */
export function Iso({ model, label, className, onHover, onPick, lift }: Props) {
const canvas = useRef<HTMLCanvasElement>(null);
const mini = useRef<ReturnType<typeof miniature> | null>(null);
+1 -1
View File
@@ -112,7 +112,7 @@ export function miniature(canvas: HTMLCanvasElement, model: Block[], still: bool
if (!frame) frame = requestAnimationFrame(draw);
};
/** Model index of the grown block at a point, not the table. */
/** The grown block at a point, by model index. */
const pick = (x: number, y: number): number | null => {
const r = canvas.getBoundingClientRect();
const dpr = canvas.width / r.width;