Skip to content

Fixed TextLayout::getStringBounds nullptr error for empty strings#1459

Closed
FangCunWuChang wants to merge 1 commit intojuce-framework:developfrom
Do-sth-sharp:fixed-2
Closed

Fixed TextLayout::getStringBounds nullptr error for empty strings#1459
FangCunWuChang wants to merge 1 commit intojuce-framework:developfrom
Do-sth-sharp:fixed-2

Conversation

@FangCunWuChang
Copy link
Contributor

Calling TextLayout::getStringBounds() on an empty string will result in a null pointer error.

@tpoole
Copy link
Member

tpoole commented Oct 25, 2024

Thank you.

Added here: a784d57

@tpoole tpoole closed this Oct 25, 2024
@FangCunWuChang FangCunWuChang deleted the fixed-2 branch November 7, 2024 16:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants