Commit 8b0ec9a
Add bestDist===Infinity guard in setGradientHoverPoint
Prevents showing the Cesium hover dot at raw mouse coordinates when
no nearby gradient segment is found (e.g. cursor far from gradient,
or async build incomplete).
Co-Authored-By: tariq.k.soliman <tariqksoliman@gmail.com>1 parent 73cd7f6 commit 8b0ec9a
1 file changed
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1788 | 1788 | | |
1789 | 1789 | | |
1790 | 1790 | | |
| 1791 | + | |
| 1792 | + | |
| 1793 | + | |
| 1794 | + | |
| 1795 | + | |
| 1796 | + | |
1791 | 1797 | | |
1792 | 1798 | | |
1793 | 1799 | | |
| |||
0 commit comments