Added Playback Rate functionality (#933)
* Add () to openAudioControls function call * Duplicate new placeholder modal * Add to app.modals * Make modal do something * Changed input to slider * Change i18n string name and remove con.log * Finalized i18n strings * Add to store.ts and update i18n hehe * Save rate to cfg * fuck off * AAHH * Make auto-set more reliable * no nightcore stuff here Co-authored-by: cryptofyre <cryptofyre@cryptofyre.org>
This commit is contained in:
parent
67834c192a
commit
144127f142
14 changed files with 106 additions and 2 deletions
|
@ -18,10 +18,15 @@
|
|||
<div class="name">{{app.getLz('settings.option.audio.enableAdvancedFunctionality.audioSpatialization')}}</div>
|
||||
</button>
|
||||
<button class="playlist-item"
|
||||
@click="openAudioControls" style="width:100%;">
|
||||
@click="openAudioControls()" style="width:100%;">
|
||||
<div class="icon"><%- include("../svg/speaker.svg") %></div>
|
||||
<div class="name">{{app.getLz('term.audioControls')}}</div>
|
||||
</button>
|
||||
<button class="playlist-item"
|
||||
@click="openAudioPlaybackRate()" style="width:100%;">
|
||||
<div class="icon"><%- include("../svg/speaker.svg") %></div>
|
||||
<div class="name">{{app.getLz('settings.option.audio.changePlaybackRate')}}</div>
|
||||
</button>
|
||||
<button class="playlist-item"
|
||||
@click="$root.appRoute('audiolabs')" style="width:100%;">
|
||||
<div class="icon"><%- include("../svg/speaker.svg") %></div>
|
||||
|
@ -60,6 +65,10 @@
|
|||
app.modals.audioControls = true
|
||||
app.modals.audioSettings = false
|
||||
},
|
||||
openAudioPlaybackRate() {
|
||||
app.modals.audioPlaybackRate = true
|
||||
app.modals.audioSettings = false
|
||||
},
|
||||
},
|
||||
}
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue