Commit 344c048
committed
fix: Change modified keys for wheel actions
Since 2021-09 it has become the unofficial standard to send pinch events
on touchpads as wheel events with the ctrl key held down. This should
correspond to zoom. GeoJS actions predate this and had used ctrl+wheel
as rotate (and wheel by itself as zoom). This changes it so shift+wheel
is rotate, and wheel+(no shift) regardless of ctrl state is zoom.1 parent cc205a2 commit 344c048
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
229 | 229 | | |
230 | 230 | | |
231 | 231 | | |
232 | | - | |
| 232 | + | |
233 | 233 | | |
234 | 234 | | |
235 | 235 | | |
| |||
241 | 241 | | |
242 | 242 | | |
243 | 243 | | |
244 | | - | |
| 244 | + | |
245 | 245 | | |
246 | 246 | | |
247 | 247 | | |
| |||
0 commit comments