mirror of
https://github.com/moonlight-stream/moonlight-android.git
synced 2026-02-16 02:20:55 +00:00
Draw the highlight border after the element so it doesn't get drawn over
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user