Canvas icon indicating copy to clipboard operation
Canvas copied to clipboard

Colors are misapplied in Blazor WebAssembly ASP.NET Core hosted app when there are multiple asysnc drawings.

Open halheinrich opened this issue 3 years ago • 0 comments

The complex drawing method works fine in a Blazor Server app and a Blazor static WebAssembly app. But, if the ASP.NET Core hosted box is checked for a WebAssembly app, problems appear.

Here's a correct drawing: image

And here's an incorrect one: image

I assume this is a bug, but if I'm misusing the package, I'd appreciate knowing. I've refactored the drawing method to draw all the bits of the same color sequentially, and that helps. All the drawing calls are to async methods and are awaited.

halheinrich avatar Apr 30 '22 17:04 halheinrich