mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-25 05:14:28 +00:00
Full Screen Directory Mode for Cloner Tab Handling
This commit is contained in:
1 parent
65e29e42dd
commit
a325c5c618
16 files changed
+826
-621
No files matched your search
@@ -367,6 +367,13 @@ public class GuiCustomScroll extends GuiScreen {
|
||||
return this;
|
||||
}
|
||||
|
||||
public void setSelectable(boolean selectable) {
|
||||
this.selectable = selectable;
|
||||
if (!selectable) {
|
||||
hover = -1;
|
||||
}
|
||||
}
|
||||
|
||||
public boolean isMouseOver(int x, int y) {
|
||||
return x >= this.guiLeft && x <= this.guiLeft + this.xSize && y >= this.guiTop && y <= this.guiTop + this.ySize;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user