nebula.gl icon indicating copy to clipboard operation
nebula.gl copied to clipboard

Handle escape hotkey in linestring and polygon modes

Open timnyborg opened this issue 3 years ago • 1 comments

Closes #773

Moves handling of keyup.escape to DrawLineStringMode, DrawPolygonMode, and DrawPolygonByDraggingMode. In dragging mode, escape also halts the dragging handler, so no new points are added until a new click.

Also adds some hotkey tests.

timnyborg avatar Jun 28 '22 10:06 timnyborg

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Jun 28 '22 10:06 CLAassistant