-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[visionOS] Hide ornaments when entering fullscreen
https://bugs.webkit.org/show_bug.cgi?id=258786 rdar://111453364 Reviewed by Tim Horton. Ornaments are smaller pieces of UI associated with a particular window scene. When performing the fullscreen transition, these pieces of UI should be hidden alongside the presenting window. * Source/WebKit/Platform/spi/visionos/MRUIKitSPI.h: * Source/WebKit/UIProcess/ios/fullscreen/WKFullScreenWindowControllerIOS.mm: (-[WKFullScreenParentWindowState initWithWindow:]): Store the original depth of ornaments to restore their depth after exiting fullscreen. (-[WKFullScreenParentWindowState ornamentDepths]): (-[WKFullScreenWindowController _performSpatialFullScreenTransition:completionHandler:]): Animate the ornaments as if they were a part of the presenting window, matching the fade and depth animations. Canonical link: https://commits.webkit.org/265733@main
- Loading branch information
1 parent
7b10b12
commit d131b55
Showing
2 changed files
with
58 additions
and
8 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