Tweak line spacing for new paragraphs

This commit is contained in:
Emil Ernerfeldt 2021-01-31 16:42:54 +01:00
parent 16d66bd22d
commit 7336df53b7
1 changed files with 1 additions and 1 deletions

View File

@ -340,7 +340,7 @@ impl Font {
row.y_max += cursor_y;
}
cursor_y = paragraph_rows.last().unwrap().y_max;
cursor_y += row_height * 0.4; // Extra spacing between paragraphs. TODO: less hacky
cursor_y += row_height * 0.2; // Extra spacing between paragraphs. TODO: less hacky
rows.append(&mut paragraph_rows);