(mode: boolean)
| 181 | } |
| 182 | |
| 183 | setKeyboardChordMode(mode: boolean) { |
| 184 | this.keyboardChordMode = mode; |
| 185 | if (mode) { |
| 186 | if (this.resetChordModeTimeout) { |
| 187 | clearTimeout(this.resetChordModeTimeout); |
| 188 | } |
| 189 | this.resetChordModeTimeout = setTimeout(() => { |
| 190 | this.keyboardChordMode = false; |
| 191 | }, CHORD_TIMEOUT); |
| 192 | } else { |
| 193 | if (this.resetChordModeTimeout) { |
| 194 | clearTimeout(this.resetChordModeTimeout); |
| 195 | this.resetChordModeTimeout = null; |
| 196 | } |
| 197 | } |
| 198 | } |
| 199 | |
| 200 | positionTabOnScreen(winBounds: Rectangle) { |
| 201 | const curBounds = this.getBounds(); |
no outgoing calls
no test coverage detected