Skip to content

Commit

Permalink
WIP: lints
Browse files Browse the repository at this point in the history
  • Loading branch information
grtlr committed Nov 20, 2024
1 parent 3e4327d commit 52e1d24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/viewer/re_space_view_graph/src/layout/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ impl ForceLayout {

let positions = self.simulation.positions().collect::<Vec<_>>();

for (node, extent) in layout.extents.iter_mut() {
for (node, extent) in &mut layout.extents {
let i = self.node_index[node];
let [x, y] = positions[i];
let pos = Pos2::new(x as f32, y as f32);
Expand Down

0 comments on commit 52e1d24

Please sign in to comment.