Misc UI updates and fixes:
- Vertically center the server name for manually added servers - Add padding for feature icons - Use a popup for adding a new server - Display pointers for both controllers - Avoid jumps in scrolling when the focused controller changes - Grab the GUI by the pointed position instead of the center - Add battery level in lobby - Use the correct width in the server list if there is a scrollbar - Make sure the tooltip does not overflow on other layers - Save the virtual keyboard layout in the config file - Don't display the IP address for USB connections - Allow receiving intents when WiVRn is already running - Add recentering tip
This commit is contained in:
@@ -63,6 +63,12 @@ public:
|
||||
inst.vm->AttachCurrentThread(&inst.jni_env, nullptr);
|
||||
}
|
||||
|
||||
static void setup_thread(JNIEnv * env)
|
||||
{
|
||||
auto & inst = instance();
|
||||
inst.jni_env = env;
|
||||
}
|
||||
|
||||
static void detach()
|
||||
{
|
||||
instance() = jni_thread();
|
||||
|
||||
Reference in New Issue
Block a user