antilint
This commit is contained in:
parent
791b4e1c19
commit
721376e02c
@ -16,6 +16,13 @@ pub struct MetricsGui {
|
||||
}
|
||||
|
||||
impl App for MetricsGui {
|
||||
fn update(&mut self, ctx: &CtxRef, _frame: &mut Frame<'_>) {
|
||||
CentralPanel::default().show(ctx, |ui| {
|
||||
ui.label("Hah");
|
||||
Graph::draw(ui, MetricId(0), &self.requester);
|
||||
});
|
||||
}
|
||||
|
||||
fn setup(&mut self, ctx: &CtxRef, _frame: &mut Frame<'_>, _storage: Option<&dyn Storage>) {
|
||||
let ctx = ctx.clone();
|
||||
self.requester
|
||||
@ -28,13 +35,6 @@ impl App for MetricsGui {
|
||||
.unwrap();
|
||||
}
|
||||
|
||||
fn update(&mut self, ctx: &CtxRef, _frame: &mut Frame<'_>) {
|
||||
CentralPanel::default().show(ctx, |ui| {
|
||||
ui.label("Hah");
|
||||
Graph::draw(ui, MetricId(0), &self.requester);
|
||||
});
|
||||
}
|
||||
|
||||
fn name(&self) -> &str {
|
||||
"Bare Metrics GUI"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user