* @brief Steps one frame back and rebuilds the trailing plot window. */
| 654 | * @brief Steps one frame back and rebuilds the trailing plot window. |
| 655 | */ |
| 656 | void Sessions::Player::previousFrame() |
| 657 | { |
| 658 | if (m_framePos > 0) { |
| 659 | --m_framePos; |
| 660 | UI::Dashboard::instance().clearPlotData(); |
| 661 | const int toLoad = UI::Dashboard::instance().points(); |
| 662 | const int startIdx = std::max(0, m_framePos - toLoad); |
| 663 | processFrameBatch(startIdx, m_framePos); |
| 664 | updateData(); |
| 665 | } |
| 666 | } |
| 667 | |
| 668 | //-------------------------------------------------------------------------------------------------- |
| 669 | // Data processing |
nothing calls this directly
no test coverage detected