Improved Language Support
This commit is contained in:
@ -23,7 +23,7 @@ void labelSetText(label_t *label, font_t *font, char *text) {
|
||||
}
|
||||
|
||||
label->font = font;
|
||||
fontTextClamp(font, &label->info, text, -1, 16.0);
|
||||
fontTextClamp(font, &label->info, text, -1, label->fontSize);
|
||||
fontTextInit(font, &label->primitive, &label->info);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user