This website works better with JavaScript.
Home
Explore
Help
Sign In
Archivist
/
raylib-src
mirror of
https://github.com/raysan5/raylib
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
24
Wiki
Activity
Browse Source
Merge pull request
#761
from Demizdor/master
Fixed height bug in DrawTextRecEx()
pull/762/head
Ray
6 years ago
committed by
GitHub
parent
a886f5e743
40a76cf021
commit
8382ab9ada
No known key found for this signature in database
GPG Key ID:
4AEE18F83AFDEB23
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
src/text.c
+ 1
- 1
src/text.c
View File
@ -897,7 +897,7 @@ void DrawTextRecEx(Font font, const char *text, Rectangle rec, float fontSize, f
textOffsetX
=
0
;
}
if
(
(
textOffsetY
+
(
int
)
(
p">(
font
.
baseSize
+
font
.
baseSize
/
2
)
*
scaleFactor
)
)
>
rec
.
height
)
break
;
if
(
(
textOffsetY
+
(
int
)
(
font
.
baseSize
*
scaleFactor
)
)
>
rec
.
height
)
break
;
/
/
draw
selected
bool
isGlyphSelected
=
false
;
Write
Preview
Loading…
Cancel
Save