T45d Site · Components: comments one short line
This commit is contained in:
1 parent
8712fd0389
commit
8d647e632f
4 files changed
+4
-4
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user