make shaping a const

This commit is contained in:
2025-11-17 21:38:40 -05:00
parent c7b255be4f
commit 7e257fd042
3 changed files with 7 additions and 16 deletions

View File

@@ -106,7 +106,7 @@ impl<'a> TextEditCtx<'a> {
.join("\n");
self.text
.buf
.set_text(self.font_system, "", &Attrs::new(), Shaping::Advanced, None);
.set_text(self.font_system, "", &Attrs::new(), SHAPING, None);
if let Some(cursor) = &mut self.text.cursor {
cursor.line = 0;
cursor.index = 0;