(nextStart, nextEnd, anchor)
| 217 | }; |
| 218 | |
| 219 | const setRangeAnchored: ZoomStateWithConstraints['setRangeAnchored'] = (nextStart, nextEnd, anchor) => { |
| 220 | applyNextRange(nextStart, nextEnd, { anchor: toAnchor(nextStart, nextEnd, anchor) }); |
| 221 | }; |
| 222 | |
| 223 | const setSpanConstraints: ZoomStateWithConstraints['setSpanConstraints'] = (nextMinSpan, nextMaxSpan) => { |
| 224 | // Undefined => leave unchanged (lets coordinator reapply dynamically computed values explicitly). |
nothing calls this directly
no test coverage detected