-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixing a bug where clock selector doesn't work when scrolling (#49)
* fixing a bug which prevented the clock selector from working when the page was scrolled vertically or horizontally. The fix uses window.pageYOffset and window.pageXOffset in the bounds calculation for the clock circle. * Removing overly-eager return that was causing issues on window resizing.
- Loading branch information
1 parent
6c310de
commit f8ef1f8
Showing
1 changed file
with
12 additions
and
5 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