mirror of
https://github.com/eliasstepanik/egui_node_graph.git
synced 2026-01-24 03:58:28 +00:00
Fix for editor contents not moving with window
This commit is contained in:
parent
45adcf7dc9
commit
a473036037
@ -103,7 +103,7 @@ where
|
|||||||
.selected_node
|
.selected_node
|
||||||
.map(|selected| selected == node_id)
|
.map(|selected| selected == node_id)
|
||||||
.unwrap_or(false),
|
.unwrap_or(false),
|
||||||
pan: self.pan_zoom.pan,
|
pan: self.pan_zoom.pan + editor_rect.min.to_vec2(),
|
||||||
}
|
}
|
||||||
.show(ui, &self.user_state);
|
.show(ui, &self.user_state);
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user