(plotId?: HttpgdPlotId)
| 419 | } |
| 420 | } |
| 421 | protected _focusPlot(plotId?: HttpgdPlotId): void { |
| 422 | plotId ??= this.activePlot; |
| 423 | if(!plotId){ |
| 424 | return; |
| 425 | } |
| 426 | const msg: FocusPlotMessage = { |
| 427 | message: 'focusPlot', |
| 428 | plotId: plotId |
| 429 | }; |
| 430 | this.postWebviewMessage(msg); |
| 431 | void this.setContextValues(); |
| 432 | } |
| 433 | |
| 434 | // navigate through plots (supply `true` to go to end/beginning of list) |
| 435 | public async nextPlot(last?: boolean): Promise<void> { |
no test coverage detected