-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Two main Overlay behavior changes: * When transitioning between overlays, don't force the caller to manually dismiss the old overlay, wait for it go away, and then launch the new one in order to avoid jarring visual transitions. Instead, create a built-in system that detects when we're already showing the overlay, fade out the contents, replace it with the new content, and then fade in the new content. * Use the built-in `.animate()`. Don't rely on a janky custom animation library I created almost a decade ago for a different random side-project. Ideally I'll be able to remove Animation.js entirely at some point, but other classes use it much more heavily than Overlay did.
- Loading branch information
Showing
3 changed files
with
127 additions
and
92 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
Oops, something went wrong.