Skip to content

Commit 6b4bfd6

Browse files
committed
fix autocomplete not being interactable
1 parent 15f0c54 commit 6b4bfd6

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

common/src/main/java/com/blamejared/searchables/api/autcomplete/AutoCompletingEditBox.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,12 @@ public AutoCompletingEditBox(Font font, int x, int y, int width, int height, @Nu
3939
addResponder(this.autoComplete);
4040
}
4141

42+
@Override
43+
public boolean isMouseOver(double xpos, double ypos) {
44+
45+
return super.isMouseOver(xpos, ypos) || this.autoComplete.isMouseOver(xpos, ypos);
46+
}
47+
4248
@Override
4349
public boolean mouseClicked(double xpos, double ypos, int button) {
4450

0 commit comments

Comments
 (0)