make shaping a const
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user