Lines Matching full:globals
20 import {globals} from './globals';
42 globals.rafScheduler.scheduleRedraw();
47 globals.rafScheduler.scheduleRedraw();
51 globals.frontendLocalState.setShowNotePreview(false);
52 globals.rafScheduler.scheduleRedraw();
68 const timeScale = globals.frontendLocalState.timeScale;
69 const range = globals.frontendLocalState.visibleWindowTime;
81 for (const note of Object.values(globals.state.notes)) {
90 const selection = globals.state.currentSelection;
118 if (aNoteIsHovered) globals.frontendLocalState.setShowNotePreview(false);
124 globals.frontendLocalState.setHoveredTimestamp(timestamp);
125 globals.frontendLocalState.setShowNotePreview(true);
155 const timeScale = globals.frontendLocalState.timeScale;
157 for (const note of Object.values(globals.state.notes)) {
160 globals.dispatch(Actions.selectNote({id: note.id}));
167 globals.dispatch(Actions.addNote({timestamp, color})); method in NotesPanel
177 const note = globals.state.notes[attrs.id];
178 const startTime = note.timestamp - globals.state.traceTime.startSec;
192 globals.dispatch(Actions.changeNoteText({
203 globals.dispatch(Actions.changeNoteColor({
212 globals.dispatch(Actions.removeNote({id: attrs.id})),