Fixed DrawTextRecEx() selection when wordwrap is ON (again) (#1149)
This commit is contained in:
parent
5e670be239
commit
e07281f8bd
@ -973,6 +973,7 @@ void DrawTextRecEx(Font font, const char *text, Rectangle rec, float fontSize, f
|
||||
startLine = endLine;
|
||||
endLine = -1;
|
||||
glyphWidth = 0;
|
||||
selectStart += lastk - k;
|
||||
k = lastk;
|
||||
|
||||
state = !state;
|
||||
|
Loading…
Reference in New Issue
Block a user