Proteus-Audio / proteus-author

Simple Vue3 + Electron starter template in TypeScript, including ViteJS and Electron Builder
MIT License
0 stars 0 forks source link

Figure out how to properly initialize Peaks player so that the playheads sync without having to each get clicked onn #10

Open howardah opened 2 years ago

howardah commented 2 years ago

At the moment, this has been patched by forcing a 'resize' event for new tracks here: https://github.com/howardah/proteus-author/blob/main/src/renderer/components/base/BaseTransport.vue#L36-L42

There is likely a better way of doing this and possibly for updating the zoom as well (https://github.com/howardah/proteus-author/blob/main/src/renderer/App.vue#L54-L56). But for now there is, at least, a workaround.