egui_graphs icon indicating copy to clipboard operation
egui_graphs copied to clipboard

unwrap panic when resizing an egui window over the top of a graph

Open XertroV opened this issue 1 year ago • 2 comments

unwrap occurs here in graph_view.rs:

if resp.drag_started() {
    if let Some(idx) = self.g.node_by_screen_pos(meta, resp.hover_pos().unwrap()) {
        self.set_drag_start(idx);
    }
}

XertroV avatar Feb 05 '24 05:02 XertroV

I can't reproduce it. I resized it in configurable example and everything was fine. Could you please specify the conditions under which panic happens?

blitzarx1 avatar Feb 05 '24 09:02 blitzarx1

Isn't #175 fixes it?

blitzarx1 avatar Feb 18 '24 19:02 blitzarx1