mirror of
https://github.com/OMGeeky/andors-trail.git
synced 2026-01-17 17:17:08 +01:00
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:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user