| 358 | } |
| 359 | |
| 360 | void ScrollView::updateScrollBar(const Vec2& outOfBoundary) |
| 361 | { |
| 362 | if (_verticalScrollBar != nullptr) |
| 363 | { |
| 364 | _verticalScrollBar->onScrolled(outOfBoundary); |
| 365 | } |
| 366 | if (_horizontalScrollBar != nullptr) |
| 367 | { |
| 368 | _horizontalScrollBar->onScrolled(outOfBoundary); |
| 369 | } |
| 370 | } |
| 371 | |
| 372 | Vec2 ScrollView::calculateTouchMoveVelocity() const |
| 373 | { |
nothing calls this directly
no test coverage detected