From 6e97e0c48505ea28829ab685e6b0d4d5eb333aae Mon Sep 17 00:00:00 2001 From: Relintai Date: Sat, 17 Sep 2022 17:14:19 +0200 Subject: [PATCH] Fix android build. --- .../java/net/relintai/pandemonium/editor/PandemoniumEditor.kt | 2 +- .../pandemonium/pandemonium/input/PandemoniumInputHandler.java | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/platform/android/java/editor/src/main/java/net/relintai/pandemonium/editor/PandemoniumEditor.kt b/platform/android/java/editor/src/main/java/net/relintai/pandemonium/editor/PandemoniumEditor.kt index fec57ddc2..e68b5dcd7 100644 --- a/platform/android/java/editor/src/main/java/net/relintai/pandemonium/editor/PandemoniumEditor.kt +++ b/platform/android/java/editor/src/main/java/net/relintai/pandemonium/editor/PandemoniumEditor.kt @@ -81,7 +81,7 @@ open class PandemoniumEditor : FullScreenPandemoniumApp() { super.onCreate(savedInstanceState); // Enable long press, panning and scaling gestures - godotFragment?.mView?.inputHandler?.apply { + pandemoniumFragment?.mView?.inputHandler?.apply { enableLongPress(enableLongPressGestures()) enablePanningAndScalingGestures(enablePanAndScaleGestures()) } diff --git a/platform/android/java/lib/src/net/relintai/pandemonium/pandemonium/input/PandemoniumInputHandler.java b/platform/android/java/lib/src/net/relintai/pandemonium/pandemonium/input/PandemoniumInputHandler.java index f917d080e..d2455a15e 100644 --- a/platform/android/java/lib/src/net/relintai/pandemonium/pandemonium/input/PandemoniumInputHandler.java +++ b/platform/android/java/lib/src/net/relintai/pandemonium/pandemonium/input/PandemoniumInputHandler.java @@ -34,7 +34,6 @@ import static net.relintai.pandemonium.pandemonium.utils.GLUtils.DEBUG; import net.relintai.pandemonium.pandemonium.PandemoniumLib; import net.relintai.pandemonium.pandemonium.PandemoniumView; -import net.relintai.pandemonium.pandemonium.input.InputManagerCompat.InputDeviceListener; import android.os.Build; import android.util.Log;