Skip to content

Commit 76a88e5

Browse files
authored
Merge pull request #1372 from OpenGeoscience/wheel-ctrl
fix: Change modifier keys for wheel actions
2 parents 4d635ce + c23056e commit 76a88e5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/mapInteractor.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ var mapInteractor = function (args) {
229229
}, {
230230
action: geo_action.zoom,
231231
input: 'wheel',
232-
modifiers: {shift: false, ctrl: false},
232+
modifiers: {shift: false},
233233
owner: 'geo.mapInteractor',
234234
name: 'wheel zoom'
235235
}, {
@@ -241,7 +241,7 @@ var mapInteractor = function (args) {
241241
}, {
242242
action: geo_action.rotate,
243243
input: 'wheel',
244-
modifiers: {shift: false, ctrl: true},
244+
modifiers: {shift: true, ctrl: false},
245245
owner: 'geo.mapInteractor',
246246
name: 'wheel rotate'
247247
}, {

0 commit comments

Comments
 (0)