Sitelet https://github.com/godotengine/godot/pull/122802
Skip to content

Add EditorDock property for switching main screen - #122802

Open
KoBeWi wants to merge 1 commit into
godotengine:masterfrom
KoBeWi:switcher_awayer
Open

Add EditorDock property for switching main screen#122802
KoBeWi wants to merge 1 commit into
godotengine:masterfrom
KoBeWi:switcher_awayer

Conversation

@KoBeWi

@KoBeWi KoBeWi commented Aug 25, 2026

Copy link
Copy Markdown
Member

What problem(s) does this PR solve?

Addresses #113051 (comment)

Replaces a long-standing hack, where main screens won't be switched when to the right of the Script tab, with a property allow_switch_screen (name up to discussion) in EditorDock. If false, selecting nodes in scene tree won't switch away from this dock (when it's a main screen). 2D and 3D editor enable switching by default, for Script it's controlled by stay_in_script_editor_on_node_selected editor setting like before.

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