3d0dad7c

By: Michael Lynch <git@mtlynch.io>

Fix blank canvas after paste in Firefox

Firefox's default paste handling was interfering with the canvas after
drawImage, causing the rendered output to appear blank despite the
buffer containing correct pixel data. Adding e.preventDefault() to the
paste handler and a double-requestAnimationFrame redraw fixes the issue.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

Suite timing

Time to Start Worker time Duration Time to finish
Config 0s 1s 1s 1s
Eval 1s 20s 20s 21s
Build 13s 1m06s 40s 53s
Test - - - -
Deploy - - - -
Suite 0s 1m27s 53s 53s

Timeline

0s10s20s30s40s50s