Add Mouse Binding (#1092)

This commit is contained in:
slprime authored and GitHub committed 2026-10-25 02:49:38 +03:00
1 parent ebe83f970f
commit e9a3a494d5
24 files changed
+303 -43

No files matched your search

@@ -305,7 +305,7 @@ public abstract class PanelWidget<T extends ItemsGrid<? extends ItemsGridSlot, ?
}
@Override
public boolean handleKeyPress(int keyID, char keyChar) {
public boolean onHotkeyPressed() {
final Point mouse = GuiDraw.getMousePosition();
if (!contains(mouse.x, mouse.y)) return false;