Skip to content

Commit 24b2357

Browse files
committed
fix: remove unecessary properties
1 parent ea49c0a commit 24b2357

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

src/interaction/selectmodify.js

-1
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,6 @@ class SelectModify extends Select {
7676
constructor(options) {
7777
super({
7878
condition: doubleClick,
79-
wrapX: false,
8079
style: selectModifyStyle,
8180
...options,
8281
});

src/interaction/selectmove.js

+1-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import Select from 'ol/interaction/Select';
22
import { Circle, Style, Fill, Stroke } from 'ol/style';
3-
import { click, shiftKeyOnly } from 'ol/events/condition';
3+
import { click } from 'ol/events/condition';
44

55
// Default style on moving geometries
66
const selectMoveStyle = new Style({
@@ -26,7 +26,6 @@ const selectMoveStyle = new Style({
2626
*
2727
* Default behavior:
2828
* - Single click on the feature to select one feature.
29-
* - Single click on the map to deselect all features.
3029
*/
3130
class SelectMove extends Select {
3231
/**
@@ -36,8 +35,6 @@ class SelectMove extends Select {
3635
constructor(options) {
3736
super({
3837
condition: click,
39-
toggleCondition: shiftKeyOnly,
40-
wrapX: false,
4138
style: selectMoveStyle,
4239
...options,
4340
});

0 commit comments

Comments
 (0)