From efaf1bf85f087914f091d50832e5830086fb889f Mon Sep 17 00:00:00 2001 From: OpenSauce04 Date: Fri, 19 Apr 2024 21:45:41 +0100 Subject: [PATCH] Android: Corrected overlay joystick draw order --- .../lime3ds/android/overlay/InputOverlayDrawableJoystick.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/android/app/src/main/java/io/github/lime3ds/android/overlay/InputOverlayDrawableJoystick.kt b/src/android/app/src/main/java/io/github/lime3ds/android/overlay/InputOverlayDrawableJoystick.kt index 48e2e211d..27aedf199 100644 --- a/src/android/app/src/main/java/io/github/lime3ds/android/overlay/InputOverlayDrawableJoystick.kt +++ b/src/android/app/src/main/java/io/github/lime3ds/android/overlay/InputOverlayDrawableJoystick.kt @@ -88,9 +88,9 @@ class InputOverlayDrawableJoystick( fun draw(canvas: Canvas?) { outerBitmap.draw(canvas!!) + boundsBoxBitmap.draw(canvas) currentStateBitmapDrawable.alpha = opacity currentStateBitmapDrawable.draw(canvas) - boundsBoxBitmap.draw(canvas) } fun updateStatus(event: MotionEvent, overlay:InputOverlay): Boolean {