TODO: this should change scroll bar value as well
| 218 | |
| 219 | /// TODO: this should change scroll bar value as well |
| 220 | void HistogramScene::prevPattern() |
| 221 | { |
| 222 | if (rects_.size() == 0) |
| 223 | return; |
| 224 | |
| 225 | auto new_idx = selected_idx_ - 1; |
| 226 | |
| 227 | if (new_idx < 0) |
| 228 | return; |
| 229 | |
| 230 | changeSelectedPattern(new_idx); |
| 231 | } |
| 232 | |
| 233 | void HistogramScene::nextPattern() |
| 234 | { |