fix zalgotext highlight

This commit is contained in:
iris committed 2025-11-22 21:14:41 -05:00
1 parent bf3ade840b
commit 84b3bf9078
2 files changed
+14 -10

No files matched your search

+2
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)