Skip to content

Commit

Permalink
fixes #7
Browse files Browse the repository at this point in the history
  • Loading branch information
mrshmllow committed Oct 5, 2021
1 parent ae8e93f commit 095a9d6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ protected void setBookButtonTexture() {

@Override
public SelectionType getType() {
return null;
return this.open ? Selectable.SelectionType.HOVERED : Selectable.SelectionType.NONE;
}

public void drawTooltip(MatrixStack matrices, int x, int y, int mouseX, int mouseY) {
Expand Down

0 comments on commit 095a9d6

Please sign in to comment.