This commit is contained in:
Nathan Sobo 2023-11-02 21:03:29 -06:00
parent 72b9dc8216
commit dfc7c81500
12 changed files with 8192 additions and 8211 deletions

View file

@ -73,7 +73,7 @@ impl WrapMap {
wrap_width: Option<f32>,
cx: &mut AppContext,
) -> (Model<Self>, WrapSnapshot) {
let handle = cx.add_model(|cx| {
let handle = cx.build_model(|cx| {
let mut this = Self {
font: (font_id, font_size),
wrap_width: None,