You've already forked android_translation_layer
mirror of
https://gitlab.com/android_translation_layer/android_translation_layer.git
synced 2025-10-27 11:48:10 -07:00
hack: make GestureOverlayView measure 0 x 0
This restores the behavior before the "remove View.haveComplexMeasure" commit. This hack is still needed as GTK doesn't allow unhandled events to propagate to a sibling in the view hierarchy. This fixes input events in Flappy Bird
This commit is contained in:
@@ -7,6 +7,7 @@ public class GestureOverlayView extends ViewGroup {
|
||||
|
||||
public GestureOverlayView(Context context) {
|
||||
super(context);
|
||||
haveCustomMeasure = false; // hack: let it measure 0x0, as GTK doesn't allow events to go through it
|
||||
}
|
||||
|
||||
public void setGestureStrokeType(int type) {
|
||||
|
||||
Reference in New Issue
Block a user