From 1ecfecc53f68a9ee371bf105eb8a656e0a98c5b3 Mon Sep 17 00:00:00 2001 From: Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> Date: Tue, 11 Jan 2022 05:03:00 +0800 Subject: + 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) --- features/betterGuis/museumGui.js | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'features/betterGuis/museumGui.js') 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{ -- cgit