Searched refs:currentSelection (Results 1 – 11 of 11) sorted by relevance
133 if (globals.state.currentSelection !== null) {134 if (globals.state.currentSelection.kind === 'NOTE') {135 const note = globals.state.notes[globals.state.currentSelection.id];142 if (globals.state.currentSelection.kind === 'TIMESPAN') {145 globals.state.currentSelection.startTs,146 globals.state.currentSelection.endTs,150 if (globals.state.currentSelection.kind === 'SLICE' &&
143 const selection = globals.state.currentSelection;245 if (globals.state.currentSelection !== null) {246 if (globals.state.currentSelection.kind === 'NOTE') {247 const note = globals.state.notes[globals.state.currentSelection.id];254 if (globals.state.currentSelection.kind === 'TIMESPAN') {257 globals.state.currentSelection.startTs,258 globals.state.currentSelection.endTs,262 if (globals.state.currentSelection.kind === 'SLICE' &&
27 const selection = globals.state.currentSelection;
98 const selection = globals.state.currentSelection;
90 const selection = globals.state.currentSelection;
283 const curSelection = globals.state.currentSelection;
252 state.currentSelection = {285 if (state.currentSelection === null) return;286 if (state.currentSelection.kind === 'NOTE' &&287 state.currentSelection.id === args.id) {288 state.currentSelection = null;293 state.currentSelection = {302 state.currentSelection = {312 state.currentSelection = {322 state.currentSelection = null;
144 currentSelection: Selection|null; property286 currentSelection: null,
35 const selection = globals.state.currentSelection;49 const selection = globals.state.currentSelection;
97 const selection = globals.state.currentSelection;
184 const selection = globals.state.currentSelection;