(sound)
| 121 | // Public methods |
| 122 | |
| 123 | setSound(sound) { |
| 124 | this.events.emit('update', { sound, target: this }); |
| 125 | |
| 126 | if (this.callback) { |
| 127 | this.callback(sound, this); |
| 128 | } |
| 129 | } |
| 130 | |
| 131 | resize() { |
| 132 | const dpr = 2; // Always 2 |
no test coverage detected