Skip to content

Commit

Permalink
Update render.js
Browse files Browse the repository at this point in the history
  • Loading branch information
acalcutt committed Feb 9, 2025
1 parent 5f40c26 commit 26b8ed2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/render.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 26b8ed2

Please sign in to comment.