Remove fast-forward and rewind buttons

This commit is contained in:
Rob Watson 2022-02-18 19:53:26 +01:00
parent e40e794721
commit e434ad9a84
1 changed files with 0 additions and 8 deletions

View File

@ -2,10 +2,8 @@ import React from 'react';
import { PlayState } from './AppState';
import {
CloudDownloadIcon,
FastForwardIcon,
PauseIcon,
PlayIcon,
RewindIcon,
ZoomInIcon,
ZoomOutIcon,
} from '@heroicons/react/solid';
@ -59,18 +57,12 @@ const ControlBar: React.FC<Props> = React.memo((props: Props) => {
return (
<>
<div className="relative grow-0 w-full py-2 space-x-2">
<button className={buttonStyle}>
<RewindIcon className={iconStyle} />
</button>
<button
className={buttonStyle}
onClick={(evt) => filterMouseEvent(evt, props.onTogglePlay)}
>
{playPauseComponent}
</button>
<button className={buttonStyle}>
<FastForwardIcon className={iconStyle} />
</button>
<button
className={props.zoomInEnabled ? buttonStyle : disabledButtonStyle}
onClick={(evt) => filterMouseEvent(evt, props.onZoomIn)}