Closed Arjun021 closed 1 year ago
This is a good question. It's currently not easy (or even possible) to do this using the custom segment marker API.
There is a new feature in development in the segment-drag branch that draws segments as a rectangle overlay over the waveform, rather than as start/end marker handles. I could consider extending that to allow the text to be centered.
@chrisn Thank you for the answer, this is also pretty much helpful. When are you planning to release this feature?
This is now available in the v3.0.0 beta releases
I checked the customized segment demo but in that the text is over the start and end line of the segment. Instead of that, is it possible to display the text in the center of the start and end lines of each segment ? Can someone guide me through it or provide some solution for this?