mirror of
https://github.com/moonlight-stream/moonlight-android.git
synced 2026-10-20 07:24:42 +00:00
Draw the highlight border after the element so it doesn't get drawn over
This commit is contained in:
1 parent
b8a0a823e0
commit
250475830f
1 file changed
+2
-2
+2
-2
@@ -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