fix: handle hardware acceleration disabled scenario in demo site (#3082)
Before adoption: this commit came in with the history the project adopted, so no landing records it.
* fix: handle hardware acceleration disabled scenario in demo site This commit improves the demo site's error handling when hardware acceleration is disabled in the browser. The changes include: - Improved fallback UI with a more informative message The fallback scene now shows: - A static image of the Zustand ogimage This fixes the issue where the demo site would break without any feedback when hardware acceleration is disabled. Testing: - fallback works when hardware acceleration is disabled * fixed code format ---------
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Trailers
- Co-authored-by: Daishi Kato <dai-shi@users.noreply.github.com>
Diff stats
1 file+68 added−30 removed
- other:+68 added−30 removed