mirror of
https://github.com/raysan5/raylib.git
synced 2025-09-12 14:28:15 +00:00
Corrected gesture tap issue and text scaling issue
This commit is contained in:
@@ -295,8 +295,10 @@ void DrawTextEx(SpriteFont spriteFont, const char *text, Vector2 position, int f
|
||||
|
||||
Character c;
|
||||
|
||||
if (fontSize <= spriteFont.charSet[0].h) scaleFactor = 1.0f;
|
||||
else scaleFactor = (float)fontSize / spriteFont.charSet[0].h;
|
||||
//if (fontSize <= spriteFont.charSet[0].h) scaleFactor = 1.0f;
|
||||
//else scaleFactor = (float)fontSize / spriteFont.charSet[0].h;
|
||||
|
||||
scaleFactor = (float)fontSize/spriteFont.charSet[0].h;
|
||||
|
||||
for(int i = 0; i < length; i++)
|
||||
{
|
||||
|
Reference in New Issue
Block a user