Fix bad kerning in integrated terminal (cherry-pick #34292) (#34298)
gcp-cherry-pick-bot[bot]
and
Alisina Bahadori
created
Cherry-picked Fix bad kerning in integrated terminal (#34292)
Closes #16869
Release Notes:
- (preview only): Fix bad kerning in integrated terminal.
Co-authored-by: Alisina Bahadori <alisina.bm@gmail.com>
Change summary
crates/terminal_view/src/terminal_element.rs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Detailed changes
@@ -127,7 +127,7 @@ impl BatchedTextRun {
cx: &mut App,
) {
let pos = Point::new(
- (origin.x + self.start_point.column as f32 * dimensions.cell_width).floor(),
+ origin.x + self.start_point.column as f32 * dimensions.cell_width,
origin.y + self.start_point.line as f32 * dimensions.line_height,
);