Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

Fix the transition judder at 0/60 seconds javascript30 js clock

if(secondsDegrees === 90) {
    allHands.forEach(hand => hand.style.transition = 'none')
} else {
    allHands.forEach(hand => hand.style.transition = '')
}
Source by medium.com #
 
PREVIOUS NEXT
Tagged: #Fix #transition #judder #seconds #js #clock
ADD COMMENT
Topic
Name
4+8 =