Skip to content

Commit

Permalink
fix tests for coretext to include cursor_height
Browse files Browse the repository at this point in the history
  • Loading branch information
qwerasd205 committed Dec 22, 2024
1 parent d624db3 commit 3b6d8f3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/font/face/coretext.zig
Original file line number Diff line number Diff line change
Expand Up @@ -1045,6 +1045,7 @@ test "coretext: metrics" {
.overline_position = 0,
.overline_thickness = 1,
.box_thickness = 1,
.cursor_height = 17,
}, ct_font.metrics);

// Resize should change metrics
Expand All @@ -1060,5 +1061,6 @@ test "coretext: metrics" {
.overline_position = 0,
.overline_thickness = 2,
.box_thickness = 2,
.cursor_height = 34,
}, ct_font.metrics);
}

0 comments on commit 3b6d8f3

Please sign in to comment.