| 1455 | |
| 1456 | Point ViewNode::getBoundsOriginPoint() const { |
| 1457 | if (isInScrollMode()) { |
| 1458 | return _scrollState->getDirectionDependentContentOffset(); |
| 1459 | } else { |
| 1460 | return Point(); |
| 1461 | } |
| 1462 | } |
| 1463 | |
| 1464 | float ViewNode::getChildrenSpaceWidth() const { |
| 1465 | if (_scrollState == nullptr || !_scrollState->isInScrollMode()) { |
| 1466 | return _calculatedFrame.width; |
| 1467 | } |
no test coverage detected