Skip to content
This repository was archived by the owner on May 13, 2024. It is now read-only.

Commit 6a0cabf

Browse files
authored
Merge pull request #203 from anehx/fix-clock
Fix angle of clocks hour indicator
2 parents 0a00876 + 8eca68b commit 6a0cabf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/components/timed-clock/component.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export default Component.extend({
2222

2323
let second = now.seconds() * 6
2424
let minute = now.minutes() * 6 + second / 60
25-
let hour = (now.hours() % 12) / 12 * 360 + 90 + minute / 12
25+
let hour = (now.hours() % 12) / 12 * 360 + minute / 12
2626

2727
this.setProperties({ second, minute, hour })
2828
},

0 commit comments

Comments
 (0)