remove debug prints
This commit is contained in:
@@ -56,12 +56,7 @@ impl Widget for TextEdit {
|
||||
}
|
||||
|
||||
fn desired_height(&mut self, ctx: &mut SizeCtx) -> Len {
|
||||
let res = Len::abs(self.view.draw(ctx).size().y);
|
||||
if (res.abs - 639.0).abs() < 0.5 && ctx.label(ctx.id()) == "WHAT" {
|
||||
let source = ctx.label(ctx.source());
|
||||
println!("{source} => {:?}: [{}] -> {}", ctx.id(), ctx.outer, res.abs);
|
||||
}
|
||||
res
|
||||
Len::abs(self.view.draw(ctx).size().y)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user