mirror of
https://github.com/eliasstepanik/egui_node_graph.git
synced 2026-01-10 21:38:27 +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
|
||||
.map(|selected| selected == node_id)
|
||||
.unwrap_or(false),
|
||||
pan: self.pan_zoom.pan,
|
||||
pan: self.pan_zoom.pan + editor_rect.min.to_vec2(),
|
||||
}
|
||||
.show(ui, &self.user_state);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user