()
| 288 | } |
| 289 | |
| 290 | public updateLeftWidth(): void { |
| 291 | if (this.isLeftSnapped()) { |
| 292 | this.sepLeft = 0; |
| 293 | } else { |
| 294 | const sepLeft = storageGetItem("source-pane-percent"); |
| 295 | this.sepLeft = document.body.getBoundingClientRect().width * sepLeft; |
| 296 | } |
| 297 | } |
| 298 | |
| 299 | public updateRightWidth(): void { |
| 300 | if (this.isRightSnapped()) { |
no test coverage detected