feat: buffer setter methods are now lazy
This commit is contained in:
parent
e5926aec74
commit
626f44dad8
14 changed files with 388 additions and 240 deletions
|
|
@ -28,7 +28,6 @@ fn empty_lines_use_span_metrics() {
|
|||
None,
|
||||
);
|
||||
buffer.set_size(Some(500.0), Some(500.0));
|
||||
buffer.shape_until_scroll(false);
|
||||
|
||||
let line_heights: Vec<f32> = buffer.layout_runs().map(|run| run.line_height).collect();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue