Skip to content
Commit 9708a54b authored by Daniel Calviño Sánchez's avatar Daniel Calviño Sánchez
Browse files

Offload generation of blurred backgrounds to a worker



Until now the generation of the blurred backgrounds was done in a normal
canvas, so it happened in the main thread and made the UI unresponsive
while the image was being generated. Now, to solve that, the blurred
background is generated in an OffscreenCanvas in a worker (if
supported by the browser).

Signed-off-by: default avatarDaniel Calviño Sánchez <danxuliu@gmail.com>
parent 9c470ba1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment