「🔨」 fix: fixed some things.

This commit is contained in:
y-syo committed 2025-10-25 12:05:15 +02:00
1 parent 666e993c48
commit 5bdb6644bc
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)
{ {