mirror of
https://codeberg.org/Hyperpipe/Hyperpipe
synced 2025-06-28 13:08: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"
|
||||
@mouseenter="show = true"
|
||||
@mouseleave="show = false"
|
||||
@click.enter="show = player.toggle('tooltipIsOpen')"
|
||||
>
|
||||
@click.enter="show = player.toggle('tooltipIsOpen')">
|
||||
<Transition name="fade">
|
||||
<div v-if="show" class="popup ign">
|
||||
<button
|
||||
|
|
|
@ -17,7 +17,6 @@ export const useData = defineStore('data', () => {
|
|||
lyrics: '',
|
||||
src: [],
|
||||
urls: [],
|
||||
tooltipIsOpen: false,
|
||||
}),
|
||||
player = usePlayer();
|
||||
|
||||
|
@ -153,12 +152,7 @@ export const usePlayer = defineStore('player', () => {
|
|||
});
|
||||
|
||||
function toggle(i) {
|
||||
console.log(i)
|
||||
console.log(state[i])
|
||||
if (typeof state[i] == 'boolean') {
|
||||
console.log(state[i])
|
||||
return state[i] = !state[i]
|
||||
}
|
||||
if (typeof state[i] == 'boolean') state[i] = !state[i];
|
||||
}
|
||||
|
||||
function setTime(t) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue