mirror of
https://github.com/Lime3DS/Lime3DS.git
synced 2024-11-01 16:05:07 +01:00
Android: Corrected overlay joystick draw order
This commit is contained in:
parent
cdd70e1f0c
commit
efaf1bf85f
@ -88,9 +88,9 @@ class InputOverlayDrawableJoystick(
|
|||||||
|
|
||||||
fun draw(canvas: Canvas?) {
|
fun draw(canvas: Canvas?) {
|
||||||
outerBitmap.draw(canvas!!)
|
outerBitmap.draw(canvas!!)
|
||||||
|
boundsBoxBitmap.draw(canvas)
|
||||||
currentStateBitmapDrawable.alpha = opacity
|
currentStateBitmapDrawable.alpha = opacity
|
||||||
currentStateBitmapDrawable.draw(canvas)
|
currentStateBitmapDrawable.draw(canvas)
|
||||||
boundsBoxBitmap.draw(canvas)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
fun updateStatus(event: MotionEvent, overlay:InputOverlay): Boolean {
|
fun updateStatus(event: MotionEvent, overlay:InputOverlay): Boolean {
|
||||||
|
Loading…
Reference in New Issue
Block a user