mirror of
https://codeberg.org/Hyperpipe/Hyperpipe
synced 2025-06-28 21:18:01 +02:00
Original formatting retained
This commit is contained in:
parent
1ae369b525
commit
7975ba8c96
2 changed files with 2 additions and 9 deletions
|
@ -136,8 +136,7 @@ const openSong = el => {
|
||||||
class="bi bi-three-dots-vertical popup-wrap ign"
|
class="bi bi-three-dots-vertical popup-wrap ign"
|
||||||
@mouseenter="show = true"
|
@mouseenter="show = true"
|
||||||
@mouseleave="show = false"
|
@mouseleave="show = false"
|
||||||
@click.enter="show = player.toggle('tooltipIsOpen')"
|
@click.enter="show = player.toggle('tooltipIsOpen')">
|
||||||
>
|
|
||||||
<Transition name="fade">
|
<Transition name="fade">
|
||||||
<div v-if="show" class="popup ign">
|
<div v-if="show" class="popup ign">
|
||||||
<button
|
<button
|
||||||
|
|
|
@ -17,7 +17,6 @@ export const useData = defineStore('data', () => {
|
||||||
lyrics: '',
|
lyrics: '',
|
||||||
src: [],
|
src: [],
|
||||||
urls: [],
|
urls: [],
|
||||||
tooltipIsOpen: false,
|
|
||||||
}),
|
}),
|
||||||
player = usePlayer();
|
player = usePlayer();
|
||||||
|
|
||||||
|
@ -153,12 +152,7 @@ export const usePlayer = defineStore('player', () => {
|
||||||
});
|
});
|
||||||
|
|
||||||
function toggle(i) {
|
function toggle(i) {
|
||||||
console.log(i)
|
if (typeof state[i] == 'boolean') state[i] = !state[i];
|
||||||
console.log(state[i])
|
|
||||||
if (typeof state[i] == 'boolean') {
|
|
||||||
console.log(state[i])
|
|
||||||
return state[i] = !state[i]
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function setTime(t) {
|
function setTime(t) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue