mirror of
https://github.com/moonlight-stream/moonlight-android.git
synced 2025-07-19 19:13:03 +00:00
Draw the highlight border after the element so it doesn't get drawn over
This commit is contained in:
parent
b8a0a823e0
commit
250475830f
@ -71,6 +71,8 @@ public abstract class VirtualControllerElement extends View {
|
||||
|
||||
@Override
|
||||
protected void onDraw(Canvas canvas) {
|
||||
onElementDraw(canvas);
|
||||
|
||||
if (virtualController.getControllerMode() == VirtualController.ControllerMode.
|
||||
Configuration) {
|
||||
paint.setColor(pressedColor);
|
||||
@ -82,8 +84,6 @@ public abstract class VirtualControllerElement extends View {
|
||||
paint);
|
||||
}
|
||||
|
||||
onElementDraw(canvas);
|
||||
|
||||
super.onDraw(canvas);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user