editor / selectionAfterToggle
Function: selectionAfterToggle()
selectionAfterToggle(
selection,vertex):VertexSelection
Defined in: model/selection-after-toggle.ts:13
Selection after Ctrl + click (Cmd on macOS): the vertex is added when it was not selected, removed otherwise, and becomes the start of the next range (F03.AC5, REF-APPLE-SELECT).
Parameters
selection
selection before the click
vertex
number
number of the vertex clicked, from 0
Returns
the new selection, ascending
Kind
domain
See
REF-APPLE-SELECT