- 
                Notifications
    
You must be signed in to change notification settings  - Fork 434
 
Open
Description
When you choose a centrally-aligned TextLayout, the text is offset such that the position of the DrawParam is now the center of the text rather than the top-left corner. This is inconsistent with all other drawables, where unless specified otherwise by the DrawParam, the given position is the top-left corner of the drawable, as well as with previous versions of ggez.
As it currently stands, centrally-aligned text must be handled as a special case in all drawing logic, which is undesirable. Furthermore, if you want to set your text to be drawn with the given position as the center of the text, this is already possible with DrawParam::offset.
Metadata
Metadata
Assignees
Labels
No labels