developmentseed / bioacoustics-frontend

Frontend code for the Google Bioacoustics project that's used by A2O Search
https://search.acousticobservatory.org/
MIT License
2 stars 0 forks source link

Pan spectrogram with mouse scroll #37

Open LanesGood opened 1 year ago

LanesGood commented 1 year ago

Unclear if this is a bug related to recently ticketed bugs. The Wavesurfer plugin property scrollParent: true should permit spectrogram panning via mouse scroll over the parent. Currently this is not working, despite the property set to true.

cc @oliverroick

oliverroick commented 1 year ago

@LanesGood Yeah that won't work because we're not interacting with the spectrogram via the wavesurfer API. It's possible to add that but I was thinking that scrolling should be used for zooming?

LanesGood commented 1 year ago

Happy to have the scroll for zoom - definitely a nice-to-have either way.

geohacker commented 1 year ago

Let's stick to scrollbar.