diff --git a/cvat-canvas/src/typescript/canvasView.ts b/cvat-canvas/src/typescript/canvasView.ts index 34925584ce74..70612c3e174a 100644 --- a/cvat-canvas/src/typescript/canvasView.ts +++ b/cvat-canvas/src/typescript/canvasView.ts @@ -918,7 +918,7 @@ export class CanvasViewImpl implements CanvasView, Listener { }; private onShiftKeyUp = (e: KeyboardEvent): void => { - if (e.key.toLowerCase() === 'shift' && this.activeElement) { + if (e.code.toLowerCase() === 'shift' && this.activeElement) { this.snapToAngleResize = consts.SNAP_TO_ANGLE_RESIZE_DEFAULT; if (this.activeElement) { const shape = this.svgShapes[this.activeElement.clientID];