Allow negative offsets

This commit is contained in:
grovesNL 2022-10-25 23:38:12 -02:30 committed by Josh Groves
parent dcdb250e19
commit 47fa03d079
2 changed files with 9 additions and 9 deletions

View file

@ -76,7 +76,7 @@ async fn run() {
TextMetrics::new(32, 44),
);
buffer.set_size(800, 600);
buffer.set_text(include_str!("./arabic.txt"));
buffer.set_text(include_str!("./ligature.txt"));
buffer.shape_until_cursor();
event_loop.run(move |event, _, control_flow| {