This commit is contained in:
bunnie 2025-04-28 02:03:23 +08:00
parent ac19def8df
commit c657d4db54

View file

@ -116,7 +116,7 @@ impl<'a> Modal<'a> {
if let Some(bounds) = tv.bounds_computed {
let y = bounds.br.y - bounds.tl.y;
let y_clip = if y > HEIGHT - self.line_height * 3 {
log::warn!("overside text, clipping back {}", HEIGHT - (self.line_height * 2));
log::warn!("oversize text, clipping back {}", HEIGHT - (self.line_height * 2));
HEIGHT - (self.line_height * 2)
} else {
y