remove debug prints
This commit is contained in:
1 parent
a952b34a72
commit
96ef0c529b
1 file changed
+1
-6
@@ -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