Fix layers losing their names upon being grouped (#1637)

* no message

* no message

* no message

* Make layers reserve their names when grouped

* remove redundancy

* replace String::from("") with String::new()

* Fix test

* Restore unrequested line break changes

* Avoid unwraps

---------

Co-authored-by: Keavon Chambers <keavon@keavon.com>
This commit is contained in:
Mohamed Osama
2024-03-02 23:34:25 +00:00
committed by GitHub
co-authored by Keavon Chambers
parent 128f76af7e
commit a1f2a2b256
8 changed files with 36 additions and 3 deletions
+1
View File
@@ -364,6 +364,7 @@ mod test {
nodes: HashMap::new(),
parent: LayerNodeIdentifier::ROOT,
insert_index: -1,
alias: String::new(),
});
editor.handle_message(NodeGraphMessage::SelectedNodesSet { nodes: vec![FOLDER_ID] });