aboutsummaryrefslogtreecommitdiff
path: root/features/soopyGui
diff options
context:
space:
mode:
authorSoopyboo32 <49228220+Soopyboo32@users.noreply.github.com>2021-11-27 01:16:24 +0800
committerSoopyboo32 <49228220+Soopyboo32@users.noreply.github.com>2021-11-27 01:16:24 +0800
commit8d0615a053a0b97299f1ea92414c295df5f83021 (patch)
tree5362b3553868b160ea90ba2764a5014e1a71855f /features/soopyGui
parentcb7aa1fe284e8230c1c297ac4f23b615c4fbf61e (diff)
downloadSoopyV2-8d0615a053a0b97299f1ea92414c295df5f83021.tar.gz
SoopyV2-8d0615a053a0b97299f1ea92414c295df5f83021.tar.bz2
SoopyV2-8d0615a053a0b97299f1ea92414c295df5f83021.zip
Fixes + stat next to name
Diffstat (limited to 'features/soopyGui')
-rw-r--r--features/soopyGui/index.js12
1 files changed, 6 insertions, 6 deletions
diff --git a/features/soopyGui/index.js b/features/soopyGui/index.js
index 8dc52de..cb5b241 100644
--- a/features/soopyGui/index.js
+++ b/features/soopyGui/index.js
@@ -161,12 +161,12 @@ class SoopyGui extends Feature {
this.pages.forEach((p)=>{
Object.values(p.pages).forEach((e, i)=>{
- e.location.location.x.set(i-pageNum+1, animate?1000:0)
+ e.location.location.x.set(i-pageNum+1, animate?500:0)
})
})
- this.categoryPage.location.location.x.set(-pageNum, animate?1000:0)
+ this.categoryPage.location.location.x.set(-pageNum, animate?500:0)
- this.backButton.location.location.y.set((pageNum === 0 || !this.currCategory.showBackButton)?-0.2:0, animate?1000:0)
+ this.backButton.location.location.y.set((pageNum === 0 || !this.currCategory.showBackButton)?-0.2:0, animate?500:0)
}
goToPageNum(pageNum, animate=true){
if(pageNum<0) return;
@@ -179,12 +179,12 @@ class SoopyGui extends Feature {
this.pages.forEach((p)=>{
Object.values(p.pages).forEach((e, i)=>{
- e.location.location.x.set(i-pageNum+1, animate?1000:0)
+ e.location.location.x.set(i-pageNum+1, animate?500:0)
})
})
- this.categoryPage.location.location.x.set(-pageNum, animate?1000:0)
+ this.categoryPage.location.location.x.set(-pageNum, animate?500:0)
- this.backButton.location.location.y.set((pageNum === 0 || !this.currCategory.showBackButton)?-0.2:0, animate?1000:0)
+ this.backButton.location.location.y.set((pageNum === 0 || !this.currCategory.showBackButton)?-0.2:0, animate?500:0)
}
openSidebarPage(child){
this.sidebarPage.location.location.x.set(0.625, 500)