I'm trying to mitigate the problems described in #78.
Changed invokation from:
pipeline.show(&mut PipelineViewer, pipeline_style, self.title.clone(), ui,);
to:
SnarlWidget::new()
.id(egui::Id::new(self.title.clone()))
.style(*pipeline_style)
.show(pipeline, &mut PipelineViewer, ui);
After the update to 0.8.0; I had the graph tied to the background instead to the window (#78) and the scaling was off by at least a factor of 2 - all other egui elements being rendered normally.
Changing to the Widget results in the graphs (one for each window) being drawn on the central main pane that I draw the windows on and all windows being scaled down.
I'm trying to mitigate the problems described in #78.
Changed invokation from:
pipeline.show(&mut PipelineViewer, pipeline_style, self.title.clone(), ui,);to:
After the update to 0.8.0; I had the graph tied to the background instead to the window (#78) and the scaling was off by at least a factor of 2 - all other egui elements being rendered normally.
Changing to the Widget results in the graphs (one for each window) being drawn on the central main pane that I draw the windows on and all windows being scaled down.