Skip to content

Commit

Permalink
Website updates
Browse files Browse the repository at this point in the history
  • Loading branch information
ahocevar committed Oct 24, 2023
1 parent 7249ef0 commit 4f8fef1
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2040,7 +2040,7 @@ <h4 class="name">

<div class="tag-source">
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/interaction/Modify.js">interaction/Modify.js</a>,
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/interaction/Modify.js#L1376">line 1376</a>
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/interaction/Modify.js#L1375">line 1375</a>
</div>

</div>
Expand Down
2 changes: 1 addition & 1 deletion dist/en/main/examples/common.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/en/main/examples/common.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/en/main/ol/dist/ol.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/en/main/ol/dist/ol.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/en/main/ol/interaction/Modify.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions dist/en/main/ol/interaction/Modify.js
Original file line number Diff line number Diff line change
Expand Up @@ -1184,14 +1184,13 @@ class Modify extends PointerInteraction {
map.forEachFeatureAtPixel(
pixel,
(feature, layer, geometry) => {
if (geometry) {
if (geometry && geometry.getType() === 'Point') {
geometry = new Point(
toUserCoordinate(geometry.getCoordinates(), projection)
);
}
const geom = geometry || feature.getGeometry();
if (
geom.getType() === 'Point' &&
feature instanceof Feature &&
this.features_.getArray().includes(feature)
) {
Expand Down

0 comments on commit 4f8fef1

Please sign in to comment.