bar cursor was short by a couple pixels

This commit is contained in:
Mitchell Hashimoto
2023-07-04 13:12:21 -07:00
parent 0b5ff8f311
commit 853f15ef19

View File

@ -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 {
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 {