Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
selectionLayer,
shiftHeld,
type,
caretPositionUpdate,
selectionLayerUpdate
});
event.stopPropagation();
});
});
this.combokeys.bind(["backspace", "del"], event => {
// Handle shortcut
this.handleDnaDelete(event);
});
this.commandEnhancer = commandMenuEnhancer(getCommands(this), {
useTicks: true,
omitIcons: true
});
}
updateSelectionOrCaret = (shiftHeld, newRangeOrCaret) => {
constructor(props) {
super(props);
const commands = getCommands(this);
this.enhancers = [
commandMenuEnhancer(commands, {
useTicks: true,
omitIcons: true
})
];
this.counter = 0;
}