-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Acetate debug drawing needs to align properly with sprites. To do so, Acetate adjusts the draw offset for the drawing context before calling debugDraw on each sprite, but it lacks information about any adjustments to this offset made by the application. This change both provides better out-of-the-box behavior for apps which use custom draw offsets, and a means to manually cache the offset for a given sprite as needed to enable proper debug drawing.
- Loading branch information
1 parent
4f696a1
commit cdaea9e
Showing
3 changed files
with
41 additions
and
1 deletion.
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
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