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

Don't update inspector when invisible #101769

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

KoBeWi
Copy link
Member

@KoBeWi KoBeWi commented Jan 18, 2025

There is no reason to update invisible inspector. This PR makes the update queued to run once the inspector appears.

I tested out of curiosity and the added return takes effect 84 times when starting the editor. The inspectors are mostly empty at the time, so probably doesn't have big impact. The most noticeable improvement is when switching nodes while another dock is visible instead of the inspector.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant