| 3000 | if (std::abs(delta) > 0.5f) { |
| 3001 | auto offset = scrollState.getDirectionAgnosticContentOffset(); |
| 3002 | offset.y = targetY; |
| 3003 | scrollState.updateDirectionAgnosticContentOffset(offset, offset); |
| 3004 | offsetY = targetY; |
| 3005 | updateResult.changed = true; |
| 3006 | scrollState.setNeedsSyncWithView(true); |
| 3007 | } |
| 3008 | } |
| 3009 | } |
| 3010 | |
| 3011 | // 2) Refresh the anchor to the node at the current viewport center. |
| 3012 | refreshPreserveAnchor(this, scrollState, offsetY, viewportH); |
| 3013 | } |
| 3014 | |
| 3015 | // Sticky headers: refresh per-child measurement cache from the current layout, then |
| 3016 | // reposition. Called on every layout pass to survive content-size changes (section |
nothing calls this directly
no test coverage detected