Module
Description
When using DrawPolygonByDraggingMode it is possible to draw the shape using middle mouse button and right mouse button.
Expected Behavior
It should not be possible to draw with middle or right mouse button. It is not expected, it makes it impossible to pan the map with middle mouse button while in this mode, and right click will likely open the context menu that will cover the canvas while drawing.
Steps to Reproduce
Create a editable layer with DrawPolygonByDraggingMode and try drawing with middle or right mouse button.
Small reproduction example:
https://stackblitz.com/edit/vitejs-vite-nk7ev2hp?file=src%2Fmain.js
Environment
- Framework version: [email protected], deck.gl-community/editable-layers: 9.1.0-beta.5
 
- Browser: Firefox 139.0.1
 
- OS: Linux
 
Logs
No response