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

Preserve inspector focus when opening script from scene tree #84284

Merged
merged 1 commit into from
Jan 4, 2024

Conversation

Haydoggo
Copy link
Contributor

@Haydoggo Haydoggo commented Nov 1, 2023

Implements godotengine/godot-proposals#247 (comment) (and also resolves #77791)

Opening a script by clicking on a script icon in the scene tree dock currently causes the script resource to grab the inspector's focus. This PR prevents this and leaves the inspector unchanged.

Inpector after opening script from scene tree dock:

Before PR
image
After PR
image

@Haydoggo Haydoggo requested a review from a team as a code owner November 1, 2023 05:41
@KoBeWi KoBeWi added this to the 4.x milestone Nov 1, 2023
@akien-mga akien-mga modified the milestones: 4.x, 4.3 Nov 1, 2023
@akien-mga akien-mga merged commit bb1006b into godotengine:master Jan 4, 2024
15 checks passed
@akien-mga
Copy link
Member

Thanks!

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.

Selecting a script in the Scene tree dock should not display the Script resource in the inspector
3 participants