From c657d4db54078eeb27ec0c5db4a3bca34f516fb3 Mon Sep 17 00:00:00 2001 From: bunnie Date: Mon, 28 Apr 2025 02:03:23 +0800 Subject: [PATCH] fix typo --- libs/ux-api/src/widgets/modal.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/ux-api/src/widgets/modal.rs b/libs/ux-api/src/widgets/modal.rs index 275fe9b3e..671a8f897 100644 --- a/libs/ux-api/src/widgets/modal.rs +++ b/libs/ux-api/src/widgets/modal.rs @@ -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