Merge branch 'main' into prod

This commit is contained in:
KeyZox committed 2025-10-25 12:13:43 +02:00
commit 2ac73d9537
2 files changed
+3 -7

No files matched your search

+2 -6
View File
@@ -68,11 +68,7 @@ export default class extends Aview {
console.log("could not remove friend"); console.log("could not remove friend");
} }
list_friends(); list_friends();
list_friends(); requestAnimationFrame(list_friends);
list_friends();
list_friends();
list_friends();
list_friends();
} }
async function isFriendLogged(name: string): Promise<Boolean> { async function isFriendLogged(name: string): Promise<Boolean> {
@@ -132,7 +128,7 @@ export default class extends Aview {
const span = document.createElement('span'); const span = document.createElement('span');
span.className = "px-3"; span.className = "px-3";
span.textContent = list[i].friendName; span.textContent = list[i].friendDisplayName;
const but = document.createElement('button'); const but = document.createElement('button');
but.textContent = "-"; but.textContent = "-";
+1 -1
View File
@@ -558,7 +558,7 @@ export default class extends Aview {
} }
async loop(timestamp: number) { async loop(timestamp: number) {
if (!view.running) return this.removeListeners(); if (!view.running) return;
if (!this.lastDrop) this.lastDrop = timestamp; if (!this.lastDrop) this.lastDrop = timestamp;
if (!this.isPaused) if (!this.isPaused)
{ {