diff options
author | nfoy <nfoy@purdue.edu> | 2014-05-06 22:29:05 -0400 |
---|---|---|
committer | nfoy <nfoy@purdue.edu> | 2014-05-06 22:29:05 -0400 |
commit | 5226dd5d0d34a63295013e171343e433ba7ec7e4 (patch) | |
tree | 12122f24867dad73c4d8c9a74eef8f056a30366a | |
parent | 9fa809f92c74b866153b9903e5602011d4024023 (diff) | |
parent | 6d5d5a3eef46d9f6bba30ddd87e8dfad0ba73ca0 (diff) |
Merge branch 'master' of https://github.com/AndrewMurrell/minak
-rw-r--r-- | src/us/minak/IMEView.java | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/us/minak/IMEView.java b/src/us/minak/IMEView.java index 1b09af9..318abd0 100644 --- a/src/us/minak/IMEView.java +++ b/src/us/minak/IMEView.java @@ -20,7 +20,6 @@ import android.graphics.Color; import android.util.AttributeSet; import android.view.MotionEvent; import android.view.View; -import android.widget.Button; import android.widget.RelativeLayout; /** @@ -95,12 +94,11 @@ public class IMEView extends RelativeLayout { private void enterCharacter(String character) { for (MetaCircle circle : ((IMEGestureOverlayView) findViewById(R.id.drawing_space)).circles) { //go through circles and check if they are applicable - if (circle.containsPoint(this.x, this.y) && circle.getMetaExpression().state != MetaExpression.State.ON) { + if (circle.containsPoint(this.x, this.y) && circle.getMetaExpression().state != MetaExpression.State.OFF) { //TODO: apply the Meta-key here ; } } - mOnCharacterEnteredListener.putString(character); } } |