Use glyph drawing in labels
This commit is contained in:
parent
2b1417160c
commit
49c9e8c7cf
1 changed files with 1 additions and 1 deletions
|
|
@ -69,7 +69,7 @@ namespace psemek::ui
|
|||
}
|
||||
|
||||
for (auto & g : cached_state_->glyphs)
|
||||
p.draw_rect(g.position, st->text_color);
|
||||
p.draw_glyph(*st->font, g.character, g.position, st->text_color);
|
||||
}
|
||||
|
||||
void label::on_state_changed()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue