()
| 6 | |
| 7 | export class TargetNumber extends Interface { |
| 8 | constructor() { |
| 9 | super('.target-number'); |
| 10 | |
| 11 | const size = window.devicePixelRatio > 1 ? 17 : 18; |
| 12 | |
| 13 | this.width = size; |
| 14 | this.height = size; |
| 15 | |
| 16 | this.init(); |
| 17 | } |
| 18 | |
| 19 | init() { |
| 20 | this.invisible(); |