mirror of
https://github.com/raysan5/raylib.git
synced 2025-12-25 10:22:33 -05:00
Fixed DrawTextRecEx() selection when wordwrap is ON (again) (#1149)
This commit is contained in:
@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user