remove debug prints

This commit is contained in:
2025-11-20 00:19:45 -05:00
parent a952b34a72
commit 96ef0c529b

View File

@@ -56,12 +56,7 @@ impl Widget for TextEdit {
} }
fn desired_height(&mut self, ctx: &mut SizeCtx) -> Len { fn desired_height(&mut self, ctx: &mut SizeCtx) -> Len {
let res = Len::abs(self.view.draw(ctx).size().y); 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
} }
} }