Browse Source

Fixed DrawTextRecEx() selection when wordwrap is ON (again) (#1149)

pull/1154/head
Random 5 years ago
committed by GitHub
parent
commit
e07281f8bd
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      src/text.c

+ 1
- 0
src/text.c View File

@ -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;

||||||
x
 
000:0
Loading…
Cancel
Save