| 98 | } |
| 99 | |
| 100 | void advanceTo(size_t index) { |
| 101 | if (index < steps.size()) { |
| 102 | stepIndex = index; |
| 103 | phase = Phase::StepIntro; |
| 104 | } else { |
| 105 | phase = Phase::Done; |
| 106 | } |
| 107 | |
| 108 | renderCurrent(); |
| 109 | } |
| 110 | |
| 111 | void onSkipClicked() { |
| 112 | if (phase == Phase::StepIntro) { |
nothing calls this directly
no outgoing calls
no test coverage detected