Clickable and Draggable now also return booleans for whether they handled the event
This commit is contained in:
@@ -92,8 +92,9 @@ public abstract class AbstractGuiTextField<T extends AbstractGuiTextField<T>>
|
||||
}
|
||||
|
||||
@Override
|
||||
public void mouseClick(ReadablePoint position, int button) {
|
||||
public boolean mouseClick(ReadablePoint position, int button) {
|
||||
wrapped.mouseClicked(position.getX(), position.getY(), button);
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user