Fix android build.

This commit is contained in:
Relintai 2022-09-17 17:14:19 +02:00
parent 7268ef04f7
commit 6e97e0c485
2 changed files with 1 additions and 2 deletions

View File

@ -81,7 +81,7 @@ open class PandemoniumEditor : FullScreenPandemoniumApp() {
super.onCreate(savedInstanceState); super.onCreate(savedInstanceState);
// Enable long press, panning and scaling gestures // Enable long press, panning and scaling gestures
godotFragment?.mView?.inputHandler?.apply { pandemoniumFragment?.mView?.inputHandler?.apply {
enableLongPress(enableLongPressGestures()) enableLongPress(enableLongPressGestures())
enablePanningAndScalingGestures(enablePanAndScaleGestures()) enablePanningAndScalingGestures(enablePanAndScaleGestures())
} }

View File

@ -34,7 +34,6 @@ import static net.relintai.pandemonium.pandemonium.utils.GLUtils.DEBUG;
import net.relintai.pandemonium.pandemonium.PandemoniumLib; import net.relintai.pandemonium.pandemonium.PandemoniumLib;
import net.relintai.pandemonium.pandemonium.PandemoniumView; import net.relintai.pandemonium.pandemonium.PandemoniumView;
import net.relintai.pandemonium.pandemonium.input.InputManagerCompat.InputDeviceListener;
import android.os.Build; import android.os.Build;
import android.util.Log; import android.util.Log;