mirror of
https://code.eliotberriot.com/funkwhale/funkwhale.git
synced 2025-10-05 07:39:24 +02:00
added shortcuts for play, volume and restore
This commit is contained in:
parent
ee1449bdd0
commit
03f15ada4e
4 changed files with 25 additions and 3 deletions
|
@ -87,10 +87,15 @@
|
|||
<div class="ui inverted segment player-wrapper">
|
||||
<player></player>
|
||||
</div>
|
||||
<GlobalEvents
|
||||
@keydown.r.stop="queue.restore"
|
||||
/>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import GlobalEvents from 'vue-global-events'
|
||||
|
||||
import Player from '@/components/audio/Player'
|
||||
import favoriteTracks from '@/favorites/tracks'
|
||||
import Logo from '@/components/Logo'
|
||||
|
@ -109,7 +114,8 @@ export default {
|
|||
Player,
|
||||
SearchBar,
|
||||
Logo,
|
||||
draggable
|
||||
draggable,
|
||||
GlobalEvents
|
||||
},
|
||||
data () {
|
||||
return {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue