aboutsummaryrefslogtreecommitdiff
path: root/features/betterGuis/museumGui.js
diff options
context:
space:
mode:
authorSoopyboo32 <49228220+Soopyboo32@users.noreply.github.com>2022-01-11 05:03:00 +0800
committerSoopyboo32 <49228220+Soopyboo32@users.noreply.github.com>2022-01-11 05:03:00 +0800
commit1ecfecc53f68a9ee371bf105eb8a656e0a98c5b3 (patch)
tree1c8436eda071169a5bb89d902bee091985edfa49 /features/betterGuis/museumGui.js
parent5a018f398d2de5351778af35306f387eadcceb68 (diff)
downloadSoopyV2-1ecfecc53f68a9ee371bf105eb8a656e0a98c5b3.tar.gz
SoopyV2-1ecfecc53f68a9ee371bf105eb8a656e0a98c5b3.tar.bz2
SoopyV2-1ecfecc53f68a9ee371bf105eb8a656e0a98c5b3.zip
+ Warning message when cannot connect to soopy server
+ Museum gui performance improvements + HUD api stat thingo + Settings for slayer features actually toggle things + Stat next to name loading time optimisations (should help if you are in a party)
Diffstat (limited to 'features/betterGuis/museumGui.js')
-rw-r--r--features/betterGuis/museumGui.js10
1 files changed, 9 insertions, 1 deletions
diff --git a/features/betterGuis/museumGui.js b/features/betterGuis/museumGui.js
index 0faa2f0..47e29d2 100644
--- a/features/betterGuis/museumGui.js
+++ b/features/betterGuis/museumGui.js
@@ -251,8 +251,16 @@ class MuseumGui {
this.itemsBox = new SoopyBoxElement().setLocation(0.5-widthPer*3/2, 0.35, widthPer*3, 0.6).enableFrameBuffer()
this.mainPage.addChild(this.itemsBox)
- new Array(this.donateBox, this.favoriteBox).forEach((box, i)=>{
+ new Array(this.donateBox, this.favoriteBox, this.itemsBox).forEach((box, i)=>{
box.addEvent(new SoopyHoverChangeEvent().setHandler((hovered)=>{
+ if(i===2){
+ if(this.searchText){
+
+ }else{
+ box.enableFrameBuffer()
+ return
+ }
+ }
if(hovered){
box.disableFrameBuffer()
}else{