mirror of
https://github.com/GTNewHorizons/NotEnoughItems.git
synced 2026-11-16 18:54:45 +00:00
Subset Widget Improvement
This commit is contained in:
1 parent
ca7030df72
commit
bde9a20947
16 files changed
+905
-673
No files matched your search
@@ -2584,6 +2584,21 @@ public class BookmarkPanel extends PanelWidget {
|
||||
return currenttip;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean contains(int px, int py) {
|
||||
|
||||
if (new Rectangle4i(pagePrev.x + pagePrev.w, pagePrev.y, pageNext.x - (pagePrev.x + pagePrev.w), pagePrev.h)
|
||||
.contains(px, py)) {
|
||||
return true;
|
||||
}
|
||||
|
||||
if (((BookmarkGrid) grid).getHoveredRowIndex(true) != -1) {
|
||||
return true;
|
||||
}
|
||||
|
||||
return super.contains(px, py);
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<String> handleItemTooltip(GuiContainer gui, ItemStack itemstack, int mousex, int mousey,
|
||||
List<String> currenttip) {
|
||||
|
||||
Reference in new issue
Block a user