diff --git a/frontend/src/Photos/Overview.tsx b/frontend/src/Photos/Overview.tsx index 2b9b115..8ce7bf4 100644 --- a/frontend/src/Photos/Overview.tsx +++ b/frontend/src/Photos/Overview.tsx @@ -1,4 +1,5 @@ import "./Overview.scss"; + import * as React from "react"; import { connect } from "react-redux"; import { Dispatch } from "redux"; @@ -54,7 +55,7 @@ export const OverviewComponent: React.FunctionComponent< const selectedPhotosRef = React.useRef>(selectedPhotos); selectedPhotosRef.current = selectedPhotos; const onCardClick = (e: React.MouseEvent, id: number) => { - if (e.ctrlKey) { + if (e.ctrlKey || e.metaKey) { const newSelectedPhotos = new Set([ ...selectedPhotosRef.current, ]);