Fixed DrawTextRecEx() selection when wordwrap is ON (again) (#1149)
This commit is contained in:
parent
5e670be239
commit
e07281f8bd
1 changed files with 1 additions and 0 deletions
|
@ -973,6 +973,7 @@ void DrawTextRecEx(Font font, const char *text, Rectangle rec, float fontSize, f
|
||||||
startLine = endLine;
|
startLine = endLine;
|
||||||
endLine = -1;
|
endLine = -1;
|
||||||
glyphWidth = 0;
|
glyphWidth = 0;
|
||||||
|
selectStart += lastk - k;
|
||||||
k = lastk;
|
k = lastk;
|
||||||
|
|
||||||
state = !state;
|
state = !state;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue