bbc / peaks.js

JavaScript UI component for interacting with audio waveforms
https://waveform.prototyping.bbc.co.uk
GNU Lesser General Public License v3.0
3.2k stars 279 forks source link

Change width of playhead line #529

Closed AngelCamargo404 closed 4 months ago

AngelCamargo404 commented 4 months ago

How can I change the width of the playhead line? It is specifically the line that shows when I click. playhead line image

chrisn commented 4 months ago

Thanks - the width was hard-coded, so I've just added an option, playheadWidth that lets you control it.

AngelCamargo404 commented 4 months ago

Thank you Chris!

chrisn commented 4 months ago

Thanks, it was a simple change so I just did it. It's available in the new v3.4.0 release.