-
Notifications
You must be signed in to change notification settings - Fork 805
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixing a regression in a validation app search box that was introduce…
…d with the recent consolidation of the iOS Application and WinRT UI fibers. The validation app attempts to animate some visuals via flip/woosh animations early during app launch. These animations require taking a bitmap snapshot of the visuals, but some of the visuals are 0x0 in size during initial app launch. Attempting to take a bitmap snapshot of a 0x0 visual (via RenderTargetBitmap::RenderAsync) throws an exception, so the initial commit worked around this by short-circuiting the animations. Unfortunately, that fix was a bit too aggressive, and it lead to us dropping some animations that we actually need to run. This fix is to only drop the animations that we truly can do without (we now just drop the animations on the temporary bitmaps that we can't render due to the 0x0 visual size).
- Loading branch information
Showing
2 changed files
with
36 additions
and
26 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