Added play-pause icons swap.

Signed-off-by: Pavel Kirilin <win10@list.ru>
This commit is contained in:
2024-05-02 04:38:29 +02:00
parent 4d0b1e1c86
commit 24937da840
6 changed files with 186 additions and 21 deletions

View File

@ -17,14 +17,14 @@ async function kill(...names) {
async function startWatching() {
await postRequest("/api/start-watching")
}
</script>
<template>
<Space fill direction="vertical" :size="20">
<Button type="warning" round size="large" @click="kill('mpv')">Убить MPV</Button>
<Button type="danger" round size="large" @click="kill('awatch', 'mpv')">Убить awatch</Button>
<Button type="primary" round size="large" :disabled="!can_watch" @click="startWatching">Начать потребление анимы</Button>
<Button type="primary" round size="large" :disabled="!can_watch" @click="startWatching">Начать потребление
анимы</Button>
</Space>
<PlayerComponent />
</template>