mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-06-04 20:43:04 +00:00
fix page search input being focusable when hidden
This commit is contained in:
committed by
Mungai Njoroge
parent
bbe7984e4e
commit
823b52fc04
@@ -73,10 +73,6 @@ defineProps<{
|
||||
album: AlbumInfo;
|
||||
}>();
|
||||
|
||||
const emit = defineEmits<{
|
||||
(event: "resetBottomPadding"): void;
|
||||
}>();
|
||||
|
||||
const albumheaderthing = ref<any>(null);
|
||||
const imguri = paths.images;
|
||||
const nav = useNavStore();
|
||||
@@ -88,10 +84,6 @@ const nav = useNavStore();
|
||||
* @param {boolean} state the new visibility state of the album page header.
|
||||
*/
|
||||
function handleVisibilityState(state: boolean) {
|
||||
if (state) {
|
||||
emit("resetBottomPadding");
|
||||
}
|
||||
|
||||
nav.toggleShowPlay(state);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user