Removed debug output; CategoryHeaderCard always only 1 line high
This commit is contained in:
parent
2a1d1859a8
commit
c8adc77938
|
|
@ -9,9 +9,14 @@ const props = defineProps({
|
|||
|
||||
<template>
|
||||
<div class="card bg-pink-accent-primary mb-1 flex-fill category-header-card" :title="props.categoryDescription">
|
||||
<div class="card-body text-center">
|
||||
<div class="card-body text-center overflow-auto">
|
||||
<div class="d-flex justify-content-center align-items-center h-100">
|
||||
<h4 class="mb-0 user-select-none">
|
||||
<h4 class="invisible">
|
||||
|
||||
</h4>
|
||||
</div>
|
||||
<div class="position-absolute start-50 top-50 translate-middle w-100">
|
||||
<h4 class="mb-0 user-select-none category-text">
|
||||
{{ props.categoryName }}
|
||||
</h4>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -407,6 +407,7 @@ onBeforeRouteLeave((to, from) => {
|
|||
//TODO List:
|
||||
// -Profile Pic
|
||||
// -More Question Types
|
||||
// -Height of Category Headers (on Multiline)
|
||||
|
||||
</script>
|
||||
|
||||
|
|
|
|||
|
|
@ -69,7 +69,7 @@ export const useGameStore = defineStore('game', {
|
|||
}
|
||||
})
|
||||
.catch( ( err ) => {
|
||||
console.debug(err);
|
||||
console.err(err);
|
||||
reject("An Error occured while joining this game! You will be forwarded to the main page");
|
||||
})
|
||||
});
|
||||
|
|
@ -227,7 +227,6 @@ export const useGameStore = defineStore('game', {
|
|||
}
|
||||
|
||||
this.websocketConnection.onmessage = ( message ) => {
|
||||
console.debug("Got Message!", message);
|
||||
let dataRaw = message.data;
|
||||
if( dataRaw === undefined || typeof dataRaw !== "string" ){
|
||||
console.error("Data not parseable")
|
||||
|
|
@ -238,7 +237,6 @@ export const useGameStore = defineStore('game', {
|
|||
this.socketListeners.forEach( x => {
|
||||
if( data.event === x.event){
|
||||
x.callback(data);
|
||||
console.debug( x.event + " callback called");
|
||||
}
|
||||
});
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in New Issue