Skip to content

Commit 3282da7

Browse files
Fix api spec default keybind
1 parent 9b500fb commit 3282da7

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/tasks.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@
66
- [x] For polylines, if only one point remains in the polyline, it should delete the polyline
77
- [x] For polygons, if fewer than 3 points remain in a polygon layer, the layer should be removed
88
- [x] Add a test for the keybind in keybind-functionality.spec.js
9-
- [ ] Update the api_spec and changelog
9+
- [x] Update the api_spec and changelog
1010

api_spec.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -435,7 +435,7 @@ Keybind to create a point annotation at the mouse location. Default is `c`. Requ
435435
Keybind to delete the annotation that the mouse is hovering over. Default is `d`.
436436
437437
### `delete_vertex_keybind`
438-
Keybind to delete a vertex of a polygon or polyline annotation. The vertex must be the one currently being hovered (showing an edit suggestion) or actively being edited. For polylines, if only one point remains after deletion, the entire polyline is deleted. For polygons, if fewer than 3 points remain in a layer after deletion, that layer is removed. Default is `shift+d`.
438+
Keybind to delete a vertex of a polygon or polyline annotation. The vertex must be the one currently being hovered (showing an edit suggestion) or actively being edited. For polylines, if only one point remains after deletion, the entire polyline is deleted. For polygons, if fewer than 3 points remain in a layer after deletion, that layer is removed. Default is `x`.
439439
440440
### `keypoint_slider_default_value`
441441
Default value for the keypoint slider. Must be a number between 0 and 1. Default is `0`.

0 commit comments

Comments
 (0)