fix zalgotext highlight

This commit is contained in:
2025-11-22 21:14:41 -05:00
parent bf3ade840b
commit 84b3bf9078
2 changed files with 14 additions and 10 deletions

View File

@@ -35,6 +35,8 @@ impl TextView {
}
}
/// region where the text should be draw
/// does not include extra height or width from weird unicode
pub fn region(&self) -> UiRegion {
self.tex()
.map(|t| t.size)