fix(ui): role button for timeline

This commit is contained in:
sylenien 2022-06-23 15:40:14 +02:00
parent 47af08e0fe
commit 98ebef88c3

View file

@ -155,6 +155,7 @@ export default class Timeline extends React.PureComponent {
className={ stl.progress }
onClick={ disabled ? null : this.seekProgress }
ref={ this.progressRef }
role="button"
>
<DraggableCircle left={this.props.time * scale} onDrop={this.onDragEnd} />
<CustomDragLayer onDrag={this.onDrag} minX={BOUNDRY} maxX={this.progressRef.current && this.progressRef.current.offsetWidth + BOUNDRY} />