mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-18 07:59:08 +00:00
Fixed the hitbox of the scrollbar scrolling bar
This commit is contained in:
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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user