(button = 0)
| 159 | } |
| 160 | |
| 161 | activate(button = 0) { |
| 162 | if (this.waitForReset) return; |
| 163 | this.waitForReset = true; |
| 164 | this.clickableContainer.reactive = false; |
| 165 | this._spinner = new Animation.Spinner(16); |
| 166 | this.spinnerContainer.add_child(this._spinner); |
| 167 | this._spinner.play(); |
| 168 | this.spinnerContainer.set_opacity(255); |
| 169 | this.emit('activated', button); |
| 170 | } |
| 171 | |
| 172 | reset() { |
| 173 | this.clickableContainer.reactive = true; |
no test coverage detected