diff options
| author | Acid Chicken (硫酸鶏) <root@acid-chicken.com> | 2018-07-18 02:06:01 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-07-18 02:06:01 +0900 |
| commit | 471382212250cc3eee2e174dd792784789affd00 (patch) | |
| tree | 7dc75628bcd25ebd7d3bc1ec4f444c67acaa92ee /src/client | |
| parent | Update analog-clock.vue (diff) | |
| download | misskey-471382212250cc3eee2e174dd792784789affd00.tar.gz misskey-471382212250cc3eee2e174dd792784789affd00.tar.bz2 misskey-471382212250cc3eee2e174dd792784789affd00.zip | |
Update analog-clock.vue
Diffstat (limited to 'src/client')
| -rw-r--r-- | src/client/app/common/views/components/analog-clock.vue | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/client/app/common/views/components/analog-clock.vue b/src/client/app/common/views/components/analog-clock.vue index fd64119f7f..43ae2ca933 100644 --- a/src/client/app/common/views/components/analog-clock.vue +++ b/src/client/app/common/views/components/analog-clock.vue @@ -79,7 +79,7 @@ export default Vue.extend({ }, ms(): number { - return this.now.getMilliseconds(); + return this.now.getMilliseconds() * this.smooth; } s(): number { return this.now.getSeconds(); @@ -92,13 +92,13 @@ export default Vue.extend({ }, hAngle(): number { - return Math.PI * (this.h % 12 + (this.m + (this.s + this.ms * this.smooth / 1000) / 60) / 60) / 6; + return Math.PI * (this.h % 12 + (this.m + (this.s + this.ms / 1000) / 60) / 60) / 6; }, mAngle(): number { - return Math.PI * (this.m + (this.s + this.ms * this.smooth / 1000) / 60) / 30; + return Math.PI * (this.m + (this.s + this.ms / 1000) / 60) / 30; }, sAngle(): number { - return Math.PI * (this.s + this.ms * this.smooth / 1000) / 30; + return Math.PI * (this.s + this.ms / 1000) / 30; }, graduations(): any { |