Skip to content
This repository has been archived by the owner on Apr 9, 2024. It is now read-only.

Commit

Permalink
Fix clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
hakolao committed Nov 26, 2023
1 parent 16a81bc commit 8140f94
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions egui_node_graph/src/editor_ui.rs
Original file line number Diff line number Diff line change
Expand Up @@ -649,12 +649,12 @@ where
.text_style(TextStyle::Button)
.color(text_color),
));
responses.extend(
self.graph[self.node_id]
.user_data
.top_bar_ui(ui, self.node_id, self.graph, user_state)
.into_iter(),
);
responses.extend(self.graph[self.node_id].user_data.top_bar_ui(
ui,
self.node_id,
self.graph,
user_state,
));
ui.add_space(8.0 * pan_zoom.zoom); // The size of the little cross icon
});
ui.add_space(margin.y);
Expand Down Expand Up @@ -733,12 +733,12 @@ where
output_port_heights.push((height_before + height_after) / 2.0);
}

responses.extend(
self.graph[self.node_id]
.user_data
.bottom_ui(ui, self.node_id, self.graph, user_state)
.into_iter(),
);
responses.extend(self.graph[self.node_id].user_data.bottom_ui(
ui,
self.node_id,
self.graph,
user_state,
));
});

// Second pass, iterate again to draw the ports. This happens outside
Expand Down

0 comments on commit 8140f94

Please sign in to comment.