mirror of
https://github.com/kevin-DL/vue-audio-recorder.git
synced 2026-01-18 05:35:12 +00:00
Update version to 3.0.0
- use MP3 instead of WAV - new callbacks & properties - refactoring
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
export function calculateLineHeadPosition (ev, element) {
|
||||
let progressWidth = element.getBoundingClientRect().width
|
||||
let leftPosition = ev.target.getBoundingClientRect().left
|
||||
const progressWidth = element.getBoundingClientRect().width
|
||||
const leftPosition = ev.target.getBoundingClientRect().left
|
||||
let pos = (ev.clientX - leftPosition) / progressWidth
|
||||
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user