From 26b8ed2466343b092431eb73ff693f8cc315281f Mon Sep 17 00:00:00 2001 From: acalcutt Date: Sat, 11 Jan 2025 02:03:24 -0500 Subject: [PATCH] Update render.js --- src/render.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/render.js b/src/render.js index f7376f4..7b950c5 100644 --- a/src/render.js +++ b/src/render.js @@ -69,7 +69,8 @@ function drawMarker(ctx, marker, z) { } /** - * + * Draws the marker image on the canvas, handling scaling if necessary. + * Resolves the parent promise once the image is drawn. */ function drawOnCanvas() { // Check if the images should be resized before beeing drawn