WIP Audio Thingies
This commit is contained in:
parent
a42a88ad6c
commit
a12d629a8a
8 changed files with 164 additions and 23 deletions
|
@ -23,9 +23,9 @@
|
|||
<div class="name">{{app.getLz('term.audioControls')}}</div>
|
||||
</button>
|
||||
<button class="playlist-item"
|
||||
@click="$root.appRoute('audiolabs')" style="width:100%;">
|
||||
@click="openCiderAudioLab" style="width:100%;">
|
||||
<div class="icon"><%- include("../svg/speaker.svg") %></div>
|
||||
<div class="name">Audio Labs</div>
|
||||
<div class="name">Cider Audio Lab</div>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -59,7 +59,15 @@
|
|||
openAudioControls() {
|
||||
app.modals.audioControls = true
|
||||
app.modals.audioSettings = false
|
||||
}
|
||||
},
|
||||
openCiderAudioLab() {
|
||||
if (app.cfg.advanced.AudioContext === true) {
|
||||
$root.appRoute('audiolabs')
|
||||
} else {
|
||||
notyf.error("Cider Audio Lab requires 'Advanced Functionality' to be enabled.")
|
||||
}
|
||||
}
|
||||
},
|
||||
}
|
||||
});
|
||||
);
|
||||
</script>
|
Loading…
Add table
Add a link
Reference in a new issue