-
-
Notifications
You must be signed in to change notification settings - Fork 883
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Fix TextBoxComponent alignment bug (#2781)
Fix `TextBoxComponent` alignment bug The `anchor` is the anchor of the text box component itself. It has nothing to do with the alignment of the text within the box. The position computed for rendering the text on the above lines is assuming `topLeft` anchor for the text.
- Loading branch information
1 parent
bdb1c79
commit 0fb53ef
Showing
2 changed files
with
4 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters