view.fill(); causes FR drop in Safari on MacOS #991
Labels
a-2d
Relates to the 2d package
b-bug
Something isn't working
c-accepted
The issue is ready to be worked on
Describe the bug
When you set the background color via
frame.fill();
the preview editor drops to 5 FPS on Safari Version 17.2.1 (19617.1.17.11.12)Not setting the background keeps the FR at either 30 or 60.
On Firefox, Chrome, Brave, this issues doesn't happen.
To Reproduce
Grab default code from here and run it.
See the localhost in Safari running fine.
Now add
frame.fill(#242424);
on line 13.See the editor struggling at 5 FPS.
Removing the color code gets us back to normal FPS.
Expected behavior
No framerate drop in Safari.
Console errors
None
Package versions:
Click on the version in the bottom right corner to copy the versions
Additional context
Apple Silicon
The text was updated successfully, but these errors were encountered: