1
0
mirror of https://github.com/godotengine/godot.git synced 2025-12-31 18:41:20 +00:00

Merge pull request #113275 from lodetrick/sprite-dock

Use new dock system for SpriteFrames Dock
This commit is contained in:
Thaddeus Crews
2025-12-03 16:50:41 -06:00
3 changed files with 27 additions and 19 deletions

View File

@@ -620,7 +620,9 @@ void EditorDockManager::save_docks_to_config(Ref<ConfigFile> p_layout, const Str
window_dump["window_screen_rect"] = DisplayServer::get_singleton()->screen_get_usable_rect(screen);
String name = dock->get_effective_layout_key();
floating_docks_dump[name] = window_dump;
if (!dock->transient) {
floating_docks_dump[name] = window_dump;
}
// Append to regular dock section so we know where to restore it to.
int dock_slot_id = dock->dock_slot_index;