-
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.
Refactor useIsOutOfBounds approach to fix behavior
• changes the behavior to default to not changing direction if the case for switching directions isn’t sufficiently compelling (i.e. if there isn’t significantly more available space in the opposite direction) • it’s now much more deterministic and won’t flicker back and forth in cases where both directions wind up being out-of-bounds
- Loading branch information
Showing
1 changed file
with
79 additions
and
76 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