Fix mouse capture not receiving events on some devices

This commit is contained in:
SerpentSpirale 2021-08-31 12:04:55 +02:00
parent 9680ba11bf
commit de50fd93fe

View file

@ -15,5 +15,6 @@ public class MinecraftGLView extends TextureView
//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);
}
}