(host: ScaleMapper, subMapper: ScaleMapper)
| 340 | } |
| 341 | |
| 342 | export function enableScaleMapperFreeze(host: ScaleMapper, subMapper: ScaleMapper): void { |
| 343 | host.freeze = noop; |
| 344 | if (__DEV__) { |
| 345 | host.freeze = function () { |
| 346 | subMapper.freeze(); |
| 347 | }; |
| 348 | }; |
| 349 | } |
| 350 | |
| 351 | export function getScaleExtentForTickUnsafe(mapper: ScaleMapper): number[] { |
| 352 | return mapper.getExtentUnsafe(SCALE_EXTENT_KIND_EFFECTIVE, SCALE_MAPPER_DEPTH_OUT_OF_BREAK); |
no test coverage detected
searching dependent graphs…