diff options
author | Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> | 2022-03-01 21:25:13 +0800 |
---|---|---|
committer | Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> | 2022-03-01 21:25:13 +0800 |
commit | c71b4f83abb2697781f8e6eafa8ad35f924fbdf7 (patch) | |
tree | 7e992f047e1b19864cea8cee1671573a44cf20de /features/friendsGUI | |
parent | 556eedeb7d58909cb716abe16d2c40910acdc43c (diff) | |
download | SoopyV2-c71b4f83abb2697781f8e6eafa8ad35f924fbdf7.tar.gz SoopyV2-c71b4f83abb2697781f8e6eafa8ad35f924fbdf7.tar.bz2 SoopyV2-c71b4f83abb2697781f8e6eafa8ad35f924fbdf7.zip |
many changes (will list in a bit)
Diffstat (limited to 'features/friendsGUI')
-rw-r--r-- | features/friendsGUI/index.js | 8 |
1 files changed, 6 insertions, 2 deletions
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 } } } |