remove debug prints
This commit is contained in:
@@ -84,14 +84,6 @@ impl<'a> PainterCtx<'a> {
|
|||||||
return;
|
return;
|
||||||
};
|
};
|
||||||
|
|
||||||
if self.widgets.label(&id) == "debug* area" {
|
|
||||||
if let Some((id, _)) = &active.resize {
|
|
||||||
println!("RESIZE: {:?}", self.widgets.label(id));
|
|
||||||
} else {
|
|
||||||
println!("RESIZE: NONE");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
if let Some((rid, size)) = active.resize {
|
if let Some((rid, size)) = active.resize {
|
||||||
let checked = &mut HashMap::default();
|
let checked = &mut HashMap::default();
|
||||||
let mut ctx = SizeCtx {
|
let mut ctx = SizeCtx {
|
||||||
@@ -113,18 +105,10 @@ impl<'a> PainterCtx<'a> {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if self.widgets.label(&id) == "debug* area" {
|
|
||||||
println!("redraw proceeding");
|
|
||||||
}
|
|
||||||
|
|
||||||
let Some(active) = self.remove(id) else {
|
let Some(active) = self.remove(id) else {
|
||||||
return;
|
return;
|
||||||
};
|
};
|
||||||
|
|
||||||
if self.widgets.label(&id) == "debug* area" {
|
|
||||||
println!("redraw actually");
|
|
||||||
}
|
|
||||||
|
|
||||||
self.draw_inner(
|
self.draw_inner(
|
||||||
active.layer,
|
active.layer,
|
||||||
id,
|
id,
|
||||||
|
|||||||
Reference in New Issue
Block a user