Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

view.fill(); causes FR drop in Safari on MacOS #991

Open
mrstruijk opened this issue Mar 12, 2024 · 0 comments
Open

view.fill(); causes FR drop in Safari on MacOS #991

mrstruijk opened this issue Mar 12, 2024 · 0 comments
Labels
a-2d Relates to the 2d package b-bug Something isn't working c-accepted The issue is ready to be worked on

Comments

@mrstruijk
Copy link

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

  • core: 3.14.1
  • two: 3.14.2
  • ui: 3.14.2
  • vitePlugin: 3.14.1

Additional context
Apple Silicon

@mrstruijk mrstruijk added the b-bug Something isn't working label Mar 12, 2024
@aarthificial aarthificial added c-accepted The issue is ready to be worked on a-2d Relates to the 2d package labels Mar 13, 2024
@aarthificial aarthificial removed their assignment Mar 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a-2d Relates to the 2d package b-bug Something isn't working c-accepted The issue is ready to be worked on
Projects
None yet
Development

No branches or pull requests

2 participants