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;