fix: removed line spacing for the last potential element
This commit is contained in:
@@ -43,7 +43,7 @@ impl Runner {
|
|||||||
.expect(&format!("Error loading font {}", font_path));
|
.expect(&format!("Error loading font {}", font_path));
|
||||||
|
|
||||||
window_height = (PADDING
|
window_height = (PADDING
|
||||||
+ ((font.height() as u16 + settings.line_spacing) * (1 + settings.rows)))
|
+ ((font.height() as u16 + settings.line_spacing) * (1 + settings.rows)) - settings.line_spacing + PADDING)
|
||||||
.into();
|
.into();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user