Fix mis-clicks around the "flee" buttons (and all of the Combat UI)

triggering an attack.
You are now allowed to use fat fingers.
This commit is contained in:
Zukero
2018-01-15 11:55:40 +01:00
parent 332eee0736
commit 23faa6d19c

View File

@@ -69,6 +69,8 @@ public final class CombatView extends RelativeLayout implements CombatSelectionL
setFocusable(false);
inflate(context, R.layout.combatview, this);
//Prevents mis-taps from registering as main area taps by going through the combat view.
findViewById(R.id.combatview_fixedarea).setClickable(true);
// findViewById(R.id.combatview_fixedarea).setBackgroundResource(R.drawable.ui_gradientshape_translucent);
// this.setBackgroundResource(R.drawable.ui_gradientshape_translucent);