Skip to content

Commit 5d5e778

Browse files
committed
Website updates
1 parent c2bb136 commit 5d5e778

File tree

7 files changed

+11
-8
lines changed

7 files changed

+11
-8
lines changed

dist/en/main/apidoc/module-ol_interaction_Snap-Snap.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1676,7 +1676,7 @@ <h4 class="name">
16761676

16771677
<div class="tag-source">
16781678
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/interaction/Snap.js">interaction/Snap.js</a>,
1679-
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/interaction/Snap.js#L575">line 575</a>
1679+
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/interaction/Snap.js#L578">line 578</a>
16801680
</div>
16811681

16821682
</div>
@@ -2141,7 +2141,7 @@ <h4 class="name">
21412141

21422142
<div class="tag-source">
21432143
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/interaction/Snap.js">interaction/Snap.js</a>,
2144-
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/interaction/Snap.js#L663">line 663</a>
2144+
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/interaction/Snap.js#L666">line 666</a>
21452145
</div>
21462146

21472147
</div>

dist/en/main/examples/common.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/en/main/examples/common.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/en/main/ol/dist/ol.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/en/main/ol/dist/ol.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/en/main/ol/interaction/Snap.d.ts.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/en/main/ol/interaction/Snap.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -478,7 +478,10 @@ class Snap extends PointerInteraction {
478478
// neighbors
479479
for (let k = 0, kk = j - 1; k < kk; ++k) {
480480
const otherSegment = segments[k];
481-
if (!intersectsExtent(extent, tempExtents[k])) {
481+
if (
482+
otherSegment.length === 1 ||
483+
!intersectsExtent(extent, tempExtents[k])
484+
) {
482485
continue;
483486
}
484487
const intersection = getIntersectionPoint(segment, otherSegment);

0 commit comments

Comments
 (0)