Fixed the hitbox of the scrollbar scrolling bar

This commit is contained in:
Goodbird committed 2024-01-03 21:52:55 +03:00
1 parent 095d7f405c
commit 90d321bb3b
1 file changed
+1 -1
@@ -128,7 +128,7 @@ public class GuiCustomScroll extends GuiScreen
i -= guiLeft;
j -= guiTop;
if(Mouse.isButtonDown(0)){
if(i >= xSize-11 && i < xSize-6 && j >= 4 && j < ySize){
if(i >= xSize-9 && i < xSize-4 && j >= 4 && j < ySize){
isScrolling = true;
}
}