Android: Corrected overlay joystick draw order

This commit is contained in:
OpenSauce04 2024-04-19 21:45:41 +01:00
parent cdd70e1f0c
commit efaf1bf85f

View file

@ -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 {