Rapid icon indicating copy to clipboard operation
Rapid copied to clipboard

Issues with Minimap and PixiJS 8.5.x and later

Open bhousel opened this issue 1 year ago • 0 comments

We discovered that the minimap is not rendering correctly on versions of PixiJS 8.5.x and newer. Instead of showing a zoomed out view, it just contained contents of the main map canvas.

I traced it to an issue with multiview rendering (where we tell Pixi to render to multiple canvases) and opened https://github.com/pixijs/pixijs/issues/11168 to keep track of it.

In the mean time, I added a workaround in bfce63f30 to the minimap code to get it rendering correctly again.
I've tested this on both WebGL and WebGPU and it seems ok. When the upstream issue in is fixed, we can remove the workaround and close this issue.

bhousel avatar Dec 19 '24 22:12 bhousel