|
|
@@ -150,7 +150,7 @@ class Godot(private val context: Context) : SensorEventListener {
|
|
|
private var useApkExpansion = false
|
|
|
private var useImmersive = false
|
|
|
private var useDebugOpengl = false
|
|
|
- private var darkMode = false;
|
|
|
+ private var darkMode = false
|
|
|
|
|
|
private var containerLayout: FrameLayout? = null
|
|
|
var renderView: GodotRenderView? = null
|
|
|
@@ -290,7 +290,7 @@ class Godot(private val context: Context) : SensorEventListener {
|
|
|
initializationStarted = false
|
|
|
throw e
|
|
|
} finally {
|
|
|
- endBenchmarkMeasure("Startup", "Godot::onCreate");
|
|
|
+ endBenchmarkMeasure("Startup", "Godot::onCreate")
|
|
|
}
|
|
|
}
|
|
|
|
|
|
@@ -613,7 +613,7 @@ class Godot(private val context: Context) : SensorEventListener {
|
|
|
// These properties are defined after Godot setup completion, so we retrieve them here.
|
|
|
val longPressEnabled = java.lang.Boolean.parseBoolean(GodotLib.getGlobal("input_devices/pointing/android/enable_long_press_as_right_click"))
|
|
|
val panScaleEnabled = java.lang.Boolean.parseBoolean(GodotLib.getGlobal("input_devices/pointing/android/enable_pan_and_scale_gestures"))
|
|
|
- val rotaryInputAxis = java.lang.Integer.parseInt(GodotLib.getGlobal("input_devices/pointing/android/rotary_input_scroll_axis"));
|
|
|
+ val rotaryInputAxis = java.lang.Integer.parseInt(GodotLib.getGlobal("input_devices/pointing/android/rotary_input_scroll_axis"))
|
|
|
|
|
|
runOnUiThread {
|
|
|
renderView?.inputHandler?.apply {
|