TEXT_SIZE is a global style property
This commit is contained in:
parent
2ebb9ddde1
commit
1eae19f183
@ -712,12 +712,6 @@ RAYGUIDEF void GuiFont(Font font)
|
||||
{
|
||||
guiFont = font;
|
||||
GuiSetStyle(DEFAULT, TEXT_SIZE, font.baseSize);
|
||||
|
||||
// Populate all controls with new font size
|
||||
for (int i = 1; i < NUM_CONTROLS; i++) GuiSetStyle(i, TEXT_SIZE, GuiGetStyle(DEFAULT, TEXT_SIZE));
|
||||
|
||||
// NOTE: Loaded font spacing must be set manually
|
||||
//GuiSetStyle(DEFAULT, TEXT_SPACING, 1);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user