-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use MaskTextures instead of SetPortraitToTexture (#828)
Fixes #827. The SetPortraitToTexture API only accepts textures whose size is 64x64 or smaller, whereas MaskTextures support any size. Previously we guarded this with a pcall check to fall back and show a failure texture (or an unmasked one) if a texture was larger than 64x64 however a variant of WoWUIBugs#393 impacts this API - the pcall will return true implying no error occurred, but instead the error about the texture size will be deferred and raised upon the next call into any widget API - as seen in the ticket. This also removes the applyRoundTexture utility in general - this requires some changes to Extended.
- Loading branch information
Showing
3 changed files
with
30 additions
and
23 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
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