From a32bd9d74c7545d9341d55ce54c7aa15e3412d2c Mon Sep 17 00:00:00 2001 From: advplyr Date: Mon, 22 Aug 2022 16:02:35 -0500 Subject: [PATCH] Update:Audio player menu to modal instead of dropdown --- components/app/AudioPlayer.vue | 18 ++++++++++++++---- components/modals/Dialog.vue | 12 +++++++----- 2 files changed, 21 insertions(+), 9 deletions(-) diff --git a/components/app/AudioPlayer.vue b/components/app/AudioPlayer.vue index 61a94a19..20ae55ae 100644 --- a/components/app/AudioPlayer.vue +++ b/components/app/AudioPlayer.vue @@ -8,9 +8,7 @@ cast
- - more_vert - + more_vert

{{ isDirectPlayMethod ? 'Direct' : isLocalPlayMethod ? 'Local' : 'Transcode' }}

@@ -95,6 +93,16 @@ + + + @@ -142,7 +150,8 @@ export default { isLoading: false, touchTrackStart: false, dragPercent: 0, - syncStatus: 0 + syncStatus: 0, + showMoreMenuDialog: false } }, watch: { @@ -612,6 +621,7 @@ export default { } }, clickMenuAction(action) { + this.showMoreMenuDialog = false if (action === 'chapter_track') { this.useChapterTrack = !this.useChapterTrack diff --git a/components/modals/Dialog.vue b/components/modals/Dialog.vue index f1c37bf4..31041ff8 100644 --- a/components/modals/Dialog.vue +++ b/components/modals/Dialog.vue @@ -10,11 +10,13 @@