Skip to content

Commit bd9f1be

Browse files
committed
Update rendering.ts
1 parent 1aa465d commit bd9f1be

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/rendering.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -265,6 +265,7 @@ export class Renderer {
265265
}
266266

267267
async wait_for_zoom_attachment() {
268+
// This is a dumb workaround for a race condition.
268269
let t = 0;
269270
const timeout = 2; // milliseconds.
270271
while (this._zoom === undefined) {

0 commit comments

Comments
 (0)