Skip to content

Commit b88d98b

Browse files
committed
Formating
1 parent 51ca319 commit b88d98b

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

editor/src/messages/portfolio/document/properties_panel/properties_panel_message_handler.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -103,10 +103,7 @@ impl PropertiesPanelMessageHandler {
103103
let mut node_ids = Vec::new();
104104
for group in layout {
105105
if let LayoutGroup::Section(WidgetSection {
106-
id,
107-
layout,
108-
expanded: group_expanded,
109-
..
106+
id, layout, expanded: group_expanded, ..
110107
}) = group
111108
{
112109
*group_expanded = expanded;

editor/src/messages/portfolio/document/utility_types/network_interface.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1049,7 +1049,10 @@ impl NodeNetworkInterface {
10491049
log::error!("Could not get persistent node metadata in is_collapsed for node {node_id}");
10501050
return false;
10511051
};
1052-
node_metadata.persistent_metadata.collapsed.unwrap_or_else(|| self.implementation_name(node_id, network_path) == "Merge")
1052+
node_metadata
1053+
.persistent_metadata
1054+
.collapsed
1055+
.unwrap_or_else(|| self.implementation_name(node_id, network_path) == "Merge")
10531056
}
10541057

10551058
pub fn is_visible(&self, node_id: &NodeId, network_path: &[NodeId]) -> bool {

0 commit comments

Comments
 (0)