• Home
  • Raw
  • Download

Lines Matching refs:globals

23 import {globals} from './globals';
35 return globals.state.pinnedTracks.indexOf(id) !== -1;
39 const selection = globals.state.currentSelection;
41 const selectedArea = globals.state.areas[selection.areaId];
64 const searchIndex = globals.state.searchIndex;
66 const trackId = globals.currentSearchResults.trackIds[searchIndex];
98 globals.dispatch(
105 globals.state.currentSelection !== null &&
106 globals.state.currentSelection.kind === 'AREA' ?
109 globals.dispatch(Actions.toggleTrackSelection(
132 globals.rafScheduler.scheduleFullRedraw();
140 globals.rafScheduler.scheduleFullRedraw();
159 globals.rafScheduler.scheduleFullRedraw();
164 globals.rafScheduler.scheduleFullRedraw();
171 globals.rafScheduler.scheduleFullRedraw();
174 globals.dispatch(Actions.moveTrack({srcId, op: this.dropping, dstId}));
193 globals.rafScheduler.scheduleRedraw();
197 globals.rafScheduler.scheduleRedraw();
228 globals.rafScheduler.scheduleRedraw();
256 if (globals.frontendLocalState.scrollToTrackId === attrs.trackState.id) {
258 globals.frontendLocalState.scrollToTrackId = undefined;
297 const trackState = globals.state.tracks[trackId];
301 const engine = globals.engines.get(trackState.engineId);
337 const localState = globals.frontendLocalState;
338 const selection = globals.state.currentSelection;
343 const selectedArea = globals.state.areas[selection.areaId];
360 globals.frontendLocalState.timeScale,
361 globals.frontendLocalState.visibleWindowTime,
373 const localState = globals.frontendLocalState;
375 if (globals.state.hoveredNoteTimestamp !== -1) {
379 globals.state.hoveredNoteTimestamp,
383 if (globals.state.hoveredLogsTimestamp !== -1) {
387 globals.state.hoveredLogsTimestamp,
391 if (globals.state.currentSelection !== null) {
392 if (globals.state.currentSelection.kind === 'NOTE') {
393 const note = globals.state.notes[globals.state.currentSelection.id]; constant
404 if (globals.state.currentSelection.kind === 'SLICE' &&
405 globals.sliceDetails.wakeupTs !== undefined) {
409 globals.sliceDetails.wakeupTs,
416 for (const note of Object.values(globals.state.notes)) {
423 globals.state.areas[note.areaId].startSec,
430 globals.state.areas[note.areaId].endSec,