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.16k stars 277 forks source link

Set offset height of segment dynamic #469

Open Arjun021 opened 1 year ago

Arjun021 commented 1 year ago

@chrisn Is it possible to keep segment offset height as dynamic? Currently, we are giving fixed offset height to the segment. So when there is more line of text , it is not displayed in segment. If the height can get adjusted based on text and we can give max height then this issue can be resolved.

image

chrisn commented 1 year ago

Thanks for this suggestion, I will look into it when I get some time.