Lines Matching full:globals
20 import {globals} from './globals';
30 return globals.state.pinnedTracks.indexOf(id) !== -1;
82 globals.rafScheduler.scheduleFullRedraw();
90 globals.rafScheduler.scheduleFullRedraw();
109 globals.rafScheduler.scheduleFullRedraw();
114 globals.rafScheduler.scheduleFullRedraw();
121 globals.rafScheduler.scheduleFullRedraw();
124 globals.dispatch(Actions.moveTrack({srcId, op: this.dropping, dstId}));
135 globals.rafScheduler.scheduleRedraw();
139 globals.rafScheduler.scheduleRedraw();
143 const selection = globals.state.currentSelection;
149 globals.rafScheduler.scheduleRedraw();
177 onclick: () => globals.dispatch(attrs.action),
192 this.trackState = globals.state.tracks[vnode.attrs.id];
216 globals.frontendLocalState.timeScale,
217 globals.frontendLocalState.visibleWindowTime,
227 const localState = globals.frontendLocalState;
245 if (globals.state.currentSelection !== null) {
246 if (globals.state.currentSelection.kind === 'NOTE') {
247 const note = globals.state.notes[globals.state.currentSelection.id]; constant
254 if (globals.state.currentSelection.kind === 'TIMESPAN') {
257 globals.state.currentSelection.startTs,
258 globals.state.currentSelection.endTs,
262 if (globals.state.currentSelection.kind === 'SLICE' &&
263 globals.sliceDetails.wakeupTs !== undefined) {
267 globals.sliceDetails.wakeupTs,