Skip to content

Commit 4bfd42b

Browse files
committed
comment to fix
1 parent 8dc9a8c commit 4bfd42b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

02 - JS + CSS Clock/index-PROGRESS.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@
8282
const minutesDegrees = ((minutes / 60) * 360) + 90;
8383
const hoursDegrees = ((hours / 12) * 360) + 90;
8484
secondHand.style.transform = `rotate(${secondsDegrees}deg)`;
85-
minuteHand.style.transform = `rotate(${minutesDegrees}deg)`;
85+
minuteHand.style.transform = `rotate(${minutesDegrees}deg)`; // fix tick jank at 60s rollover
8686
hourHand.style.transform =`rotate(${hoursDegrees}deg)`;
8787

8888
}

0 commit comments

Comments
 (0)