Repository navigation
minute and hour hand gradual update - #55
Closed
stanleynguyen wants to merge 2 commits into
Closed
stanleynguyen wants to merge 2 commits into
stanleynguyen wants to merge 2 commits into
Conversation
|
I wanna know how to keep counting the second hand when the rotation became 90. and sometime the degrees will duplicate, so it's a |
Author
|
@dxcqcv it got to do with the transition animation, you can try this if (secondsDegree === 90) secondHand.style.transition = 'all 0s';
else secondHand.style.transition = 'all 0.05s'; |
|
@stanleynguyen thank you very much, so the only way is remove the |
Owner
|
I appreciate the PR but I will be keeping these files the same as the videos in order to maintain consistency. Thanks though! |
Contributor
|
@soyaine I'll learn it, thanks |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
For an actual clock, the minute and hour and doesn't stay still and wait until it's the next minute/hour to move but gradually move towards the next point in accord with how the second hand moves. I think the clock will look more realistic if we can add in this.