Skip to content

Commit 26b8ed2

Browse files
committed
Update render.js
1 parent 5f40c26 commit 26b8ed2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/render.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,8 @@ function drawMarker(ctx, marker, z) {
6969
}
7070

7171
/**
72-
*
72+
* Draws the marker image on the canvas, handling scaling if necessary.
73+
* Resolves the parent promise once the image is drawn.
7374
*/
7475
function drawOnCanvas() {
7576
// Check if the images should be resized before beeing drawn

0 commit comments

Comments
 (0)