(snapshot)
| 1555 | } |
| 1556 | |
| 1557 | function openButtonCandidateNormalizedPoints(snapshot) { |
| 1558 | const point = openButtonPoint(snapshot); |
| 1559 | const bounds = rootBounds(snapshot); |
| 1560 | if (!point || !bounds || bounds.width <= 0 || bounds.height <= 0) { |
| 1561 | return []; |
| 1562 | } |
| 1563 | const x = point.x / bounds.width; |
| 1564 | const y = point.y / bounds.height; |
| 1565 | return candidateNormalizedTransforms(x, y); |
| 1566 | } |
| 1567 | |
| 1568 | function candidateNormalizedTransforms(x, y) { |
| 1569 | return uniqueUnitPoints([ |
no test coverage detected