Update render.js

This commit is contained in:
acalcutt 2025-01-11 02:03:24 -05:00 committed by Andrew Calcutt
parent 5f40c26349
commit 26b8ed2466

View file

@ -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() { function drawOnCanvas() {
// Check if the images should be resized before beeing drawn // Check if the images should be resized before beeing drawn