Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't rely exclusively on scroll events to determine content resolution.
Default to 1 rather 0 so there's a reasonable default in the abscense of any events and update the resolution when the scroll area is update as scroll events are not always received (or accurate it seems but those come later and scroll area updates are infrequent so this doesn't help with that).
- Loading branch information
Showing
1 changed file
with
21 additions
and
4 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