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

fix screen bounds not updating #2022

Merged
merged 2 commits into from
Oct 5, 2023
Merged

fix screen bounds not updating #2022

merged 2 commits into from
Oct 5, 2023

Conversation

SomeHats
Copy link
Contributor

@SomeHats SomeHats commented Oct 5, 2023

There are a lot of cases (eg when interacting with the ui) where the editor loses focus. This check was preventing us from updating the viewport screen bounds when appropriate. This function is throttled and pretty cheap anyway (if the viewport is equal its a no-op) so let's just remove the condition

Change Type

  • patch — Bug fix

@huppy-bot huppy-bot bot added the bugfix Bug fix label Oct 5, 2023
@vercel
Copy link

vercel bot commented Oct 5, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
examples ✅ Ready (Inspect) Visit Preview Oct 5, 2023 11:09am

@SomeHats SomeHats added this pull request to the merge queue Oct 5, 2023
Merged via the queue into main with commit a9236bc Oct 5, 2023
5 checks passed
@SomeHats SomeHats deleted the alex/fix-screen-bounds branch October 5, 2023 12:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfix Bug fix
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant