Zoom 0% causes the application to freeze #119
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This zoom level can be obtained by changing URL query parameters to e.g.
&zoom=-200
. Zoom should instead be clamped so that such freezes cannot happen.The freeze occurs in
CanvasRenderer.#collectChunksThisFrame
, which iterates over all chunks in the viewport and collects them for rendering. Iterating over such an absurd amount of chunks is bound to cause problems no matter how you look at it.