diff --git a/frontend/src/ControlBar.tsx b/frontend/src/ControlBar.tsx index 89d3393..cba610f 100644 --- a/frontend/src/ControlBar.tsx +++ b/frontend/src/ControlBar.tsx @@ -34,25 +34,46 @@ const ControlBar: React.FC = React.memo((props: Props) => { ); + // Detect if the space bar has been used to trigger this event, and ignore + // it if so. This conflicts with the player interface. + const filterMouseEvent = (evt: React.MouseEvent, cb: () => void) => { + if (evt.detail == 0) { + return; + } + cb(); + }; + return ( <>
- - - -