Skip to content

Commit

Permalink
Fix mouse capture not receiving events on some devices
Browse files Browse the repository at this point in the history
  • Loading branch information
Mathias-Boulay committed Aug 31, 2021
1 parent 9680ba1 commit de50fd9
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,6 @@ public MinecraftGLView(Context context, AttributeSet attributeSet) {
//Fixes freeform and dex mode having transparent glass,
//since it forces android to used the background color of the view/layout behind it.
setOpaque(false);
setFocusable(true);
}
}

0 comments on commit de50fd9

Please sign in to comment.