From 8d0615a053a0b97299f1ea92414c295df5f83021 Mon Sep 17 00:00:00 2001 From: Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> Date: Sat, 27 Nov 2021 01:16:24 +0800 Subject: Fixes + stat next to name --- features/soopyGui/index.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'features/soopyGui') 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) -- cgit