mirror of
https://github.com/Monadical-SAS/reflector.git
synced 2025-12-20 20:29:06 +00:00
13 lines
298 B
JavaScript
13 lines
298 B
JavaScript
import RegionsPlugin from "wavesurfer.js/dist/plugins/regions";
|
|
|
|
class CustomRegionsPlugin extends RegionsPlugin {
|
|
static create(options) {
|
|
return new CustomRegionsPlugin(options);
|
|
}
|
|
avoidOverlapping(region) {
|
|
// Prevent overlapping regions
|
|
}
|
|
}
|
|
|
|
export default CustomRegionsPlugin;
|