Skip to content

Commit 66eaf67

Browse files
committed
fix line-height adds small gaps for box-drawing characters
1 parent 32de5b0 commit 66eaf67

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

sugarloaf/src/components/rich_text/compositor.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -453,7 +453,7 @@ impl Compositor {
453453
builtin_character,
454454
color,
455455
depth,
456-
style.line_height_without_mod,
456+
style.line_height,
457457
);
458458
if let Some(cache) = &mut cache_operations {
459459
cache.push(BatchOperation::DrawableChar {
@@ -463,7 +463,7 @@ impl Compositor {
463463
char_type: builtin_character,
464464
color,
465465
depth,
466-
line_height: style.line_height_without_mod,
466+
line_height: style.line_height,
467467
});
468468
}
469469
} else {

0 commit comments

Comments
 (0)