Skip to content

Commit

Permalink
Update clock animation
Browse files Browse the repository at this point in the history
  • Loading branch information
Chabose authored and Chabose committed Jul 9, 2014
1 parent f1b3822 commit c2bc5f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/clock.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@

// console.log(remoteHourX1+","+remoteHourY1+",,"+remoteHourX2+","+remoteHourY2)

$(".sec").transition({rotate:parseInt(sec)*6+0.5+"deg"},80).transition({rotate:"-=0.5deg"},20);
$(".sec").transition({rotate:parseInt(sec)*6+0.2+"deg"},50).transition({rotate:"-=0.2deg"},0);
$(".long").transition({rotate:min*6+(datetime.getSeconds()/60)*6+"deg"},0);
$(".short.mine").transition({rotate:localHourDeg+"deg"},0);
$(".short.others").transition({rotate:remoteHourDeg+"deg"},0);
Expand Down

0 comments on commit c2bc5f1

Please sign in to comment.