mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-16 08:46:08 +03:00
bar cursor was short by a couple pixels
This commit is contained in:
@ -2559,7 +2559,7 @@ fn draw_cursor_hollow_rect(self: Box, canvas: *font.sprite.Canvas) void {
|
|||||||
fn draw_cursor_bar(self: Box, canvas: *font.sprite.Canvas) void {
|
fn draw_cursor_bar(self: Box, canvas: *font.sprite.Canvas) void {
|
||||||
const thick_px = Thickness.light.height(self.thickness);
|
const thick_px = Thickness.light.height(self.thickness);
|
||||||
|
|
||||||
self.vline(canvas, 0, self.height - thick_px, 0, thick_px);
|
self.vline(canvas, 0, self.height, 0, thick_px);
|
||||||
}
|
}
|
||||||
|
|
||||||
fn vline_middle(self: Box, canvas: *font.sprite.Canvas, thickness: Thickness) void {
|
fn vline_middle(self: Box, canvas: *font.sprite.Canvas, thickness: Thickness) void {
|
||||||
|
Reference in New Issue
Block a user