()
| 276 | } |
| 277 | |
| 278 | public updateRanges(): void { |
| 279 | if (this.isRangesSnapped()) { |
| 280 | this.sepRangesHeight = window.innerHeight; |
| 281 | this.sepRangesX = this.sepRight; |
| 282 | } else { |
| 283 | const sepRangesHeight = storageGetItem("ranges-pane-height-percent"); |
| 284 | this.sepRangesHeight = window.innerHeight * sepRangesHeight; |
| 285 | const sepRangesWidth = storageGetItem("ranges-pane-width-percent"); |
| 286 | this.sepRangesX = this.sepLeft + ((this.sepRight - this.sepLeft) * sepRangesWidth); |
| 287 | } |
| 288 | } |
| 289 | |
| 290 | public updateLeftWidth(): void { |
| 291 | if (this.isLeftSnapped()) { |
no test coverage detected