parent
9e7a56f083
commit
b017d7c856
2 changed files with 2 additions and 2 deletions
|
|
@ -12,7 +12,7 @@ rust-version = "1.75"
|
|||
[dependencies]
|
||||
bitflags = "2.4.1"
|
||||
cosmic_undo_2 = { version = "0.2.0", optional = true }
|
||||
fontdb = { version = "0.16", default-features = false }
|
||||
fontdb = { version = "0.23", default-features = false }
|
||||
hashbrown = { version = "0.14.1", optional = true, default-features = false }
|
||||
libm = { version = "0.2.8", optional = true }
|
||||
log = "0.4.20"
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@ fn layout(c: &mut Criterion) {
|
|||
|
||||
let mut run_on_text = |text: &str| {
|
||||
buffer.lines.clear();
|
||||
buffer.set_text(&mut fs, text, ct::Attrs::new(), *shape);
|
||||
buffer.set_text(&mut fs, text, &ct::Attrs::new(), *shape);
|
||||
buffer.shape_until_scroll(&mut fs, false);
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue