mirror of
https://github.com/FelixKratz/SketchyBar
synced 2024-11-26 21:30:17 +00:00
fix for text height
This commit is contained in:
parent
44c0915356
commit
1340a0a555
1 changed files with 1 additions and 1 deletions
|
@ -101,7 +101,7 @@ void text_prepare_line(struct text* text) {
|
|||
kCTLineBoundsUseGlyphPathBounds);
|
||||
|
||||
text->bounds.size.width = (uint32_t) (text->bounds.size.width + 1.5);
|
||||
text->bounds.size.height = (uint32_t) (text->bounds.size.height + 0.5);
|
||||
text->bounds.size.height = (uint32_t) (text->bounds.size.height + 1.5);
|
||||
text->bounds.origin.x = (uint32_t) (text->bounds.origin.x + 0.5);
|
||||
text->line.color = text->highlight ? text->highlight_color : text->color;
|
||||
|
||||
|
|
Loading…
Reference in a new issue