Skip to content

Commit

Permalink
fix: timeline
Browse files Browse the repository at this point in the history
  • Loading branch information
Cyri1 committed Nov 7, 2022
1 parent 76170ea commit 45dd5e6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 25 deletions.
18 changes: 0 additions & 18 deletions android/app/src/main/AndroidManifest.xml.orig

This file was deleted.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bah",
"version": "0.3.3",
"version": "0.3.1",
"private": true,
"scripts": {
"serve": "vue-cli-service serve",
Expand Down
8 changes: 2 additions & 6 deletions src/components/AudioRange.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
</ion-badge>
</ion-col>
<ion-col>
<ion-range class="audio-timeline" :pin="true" :max="storyStore.storyAudioHowl.duration()"
<ion-range class="audio-timeline" :pin="false" :max="storyStore.storyAudioHowl.duration()"
:value="parseInt(storyStore.howlerCurrentPos)" @ionKnobMoveStart="onIonKnobMoveStart"
@ionKnobMoveEnd="onIonKnobMoveEnd" :pin-formatter="pinFormatter" :color="storyStore.theme + 'sec'">
@ionKnobMoveEnd="onIonKnobMoveEnd" :color="storyStore.theme + 'sec'">
</ion-range>
</ion-col>
</ion-row>
Expand Down Expand Up @@ -43,10 +43,6 @@ function onIonKnobMoveEnd({ detail }) {
storyStore.howlerIsPlaying = false
}
function pinFormatter(value) {
return new Date(value * 1000).toISOString().substring(14, 19)
}
</script>

<style scoped>
Expand Down

0 comments on commit 45dd5e6

Please sign in to comment.