We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4dfb6e1 commit 4fbd6b8Copy full SHA for 4fbd6b8
1 file changed
samples/clock_smh.html
@@ -69,7 +69,7 @@
69
// 分針
70
mShape.rotation = m * (360 / 60);
71
// 短針 (短針は時間だけでなく分も角度に考慮する)
72
- hShape.rotation = h * (360 / 24 / 2) + m * (360 / 24 / 60);
+ hShape.rotation = h * (360 / (24 / 2)) + m * (360 / 24 / 60);
73
74
// Stageの描画を更新
75
stage.update();
0 commit comments