When user clicks into the viewer canvas while holding Ctrl key, the cursor changes to cross and allows for multi selection with a rectangle. How to disable this feature and disable LMB clicking while holding down Ctrl key completely?
I've tried putting the following override method into an Event Emmiter, but only the Shift key has been successfully disabled.
public handleSingleClick(evt: MouseEvent, btn: number) {
if ((evt.shiftKey || evt.ctrlKey) && btn === 0) {
return true;
}
return false;
}
Turns out the method in an Event Emitter should be as follows.