From c71b4f83abb2697781f8e6eafa8ad35f924fbdf7 Mon Sep 17 00:00:00 2001 From: Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> Date: Tue, 1 Mar 2022 21:25:13 +0800 Subject: many changes (will list in a bit) --- features/friendsGUI/index.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'features/friendsGUI') diff --git a/features/friendsGUI/index.js b/features/friendsGUI/index.js index c7a370e..51335a9 100644 --- a/features/friendsGUI/index.js +++ b/features/friendsGUI/index.js @@ -125,9 +125,13 @@ class SettingPage extends GuiPage { } }) + this.loadingElement.location.location.y.set(this.heightPerFriend*Object.keys(this.loadedFriends).length, 500) + this.friendsArea.addChild(this.loadingElement) + if(this.maxLoadedPage !== this.pageCount){ - this.loadingElement.location.location.y.set(this.heightPerFriend*Object.keys(this.loadedFriends).length, 500) - this.friendsArea.addChild(this.loadingElement) + this.loadingElement.visable = true + }else{ + this.loadingElement.visable = false } } } -- cgit