From b9992115828028d8341a15669589a217d2242e23 Mon Sep 17 00:00:00 2001 From: kirillsaint Date: Wed, 25 Oct 2023 11:26:45 +0600 Subject: [PATCH] Better Scroll in Multiplayer GUI --- .../client/gui/multiplayer/SilentMultiplayerGui.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/net/silentclient/client/gui/multiplayer/SilentMultiplayerGui.java b/src/main/java/net/silentclient/client/gui/multiplayer/SilentMultiplayerGui.java index 1c01220..71f59a9 100644 --- a/src/main/java/net/silentclient/client/gui/multiplayer/SilentMultiplayerGui.java +++ b/src/main/java/net/silentclient/client/gui/multiplayer/SilentMultiplayerGui.java @@ -359,7 +359,7 @@ public class SilentMultiplayerGui extends SilentScreen { newScrollY += amountScrolled; else newScrollY = 0; - if((newScrollY < blockHeight && ((servers.size() + 1) * 38) > blockHeight - 39) || amountScrolled < 0) { + if((newScrollY < blockHeight && ((servers.size() + 1) * 38) > blockHeight - 43 - 41) || amountScrolled < 0) { this.scrollY = (float) newScrollY; if(this.scrollY < 0) { this.scrollY = 0;